Created
September 10, 2020 08:15
-
-
Save sritasngh/7992b09f2087384b1fd9979281e02620 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
ios_base::sync_with_stdio(false); cin.tie(NULL);//used for fast input output | |
--scanf,printf is faster than cin,cout but we can use cin,cout and achive the same speed | |
//ios_base :: sync_with_stdio(false):It desynchronize all the C++ standard streams with their corresponding standard C streams | |
//cin.tie(NULL) :tie() is a method which simply guarantees the flushing of std::cout before std::cin accepts an input. | |
This is useful for interactive console programs which require the console to be updated constantly | |
but also slows down the program for large I/O. The NULL part just returns a NULL pointer. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment