Created
September 8, 2020 17:29
-
-
Save PedroRacchetti/dce20d972632b1407a1a17075726125e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void getint(int &x){ | |
register int c = getchar_unlocked(); | |
x = 0; | |
for(;(c<48 || c>57);c = gc()); | |
for(;c>47 && c<58;c = gc()) {x = (x<<1) + (x<<3) + c - 48;} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment