Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. inline int scan( ) {
  2.  
  3. int n=0;
  4.  
  5. int ch=getchar_unlocked();
  6.  
  7. while( ch <48 )ch=getchar_unlocked();
  8.  
  9. while( ch >47 )
  10.  
  11. n = (n<<3)+(n<<1) + ch-'0', ch=getchar_unlocked();
  12.  
  13. return n;
  14.  
  15. }
  16.  
  17. n = (n<<3)+(n<<1) + ch-'0', ch=getchar_unlocked();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement