Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int read_input() {
- int _integer=0;
- char _char=0;
- while(_char<48){
- _char=getchar_unlocked();
- }
- while(_char>=48){
- _integer=10*_integer+_char-48;
- _char=getchar_unlocked();
- }
- return _integer;
- }
- int read_input() {
- int _integer=0;
- char _char=0;
- while(_char<'0'){
- _char=getchar_unlocked();
- }
- while(_char>='0'){
- _integer=10*_integer+_char-'0';
- _char=getchar_unlocked();
- }
- return _integer;
- }
Add Comment
Please, Sign In to add comment