Created
December 30, 2018 13:19
-
-
Save hvariant/ea3e3589e7aaeb757daa238ce91a10a1 to your computer and use it in GitHub Desktop.
Leetcode speedup trick
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
| static const auto io_sync_off = []() | |
| { | |
| std::ios::sync_with_stdio(false); | |
| std::cin.tie(nullptr); | |
| std::cout.tie(nullptr); | |
| return nullptr; | |
| }(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment