ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1517
. Freedom of Choice
Mahilewets
_getchar_nolock can really boost your code
[1] // Problem
1517. Freedom of Choice
27 May 2017 09:39
So at first I got AC in 68 ms using scanf("%c", *char) and then I replaced scanf with_getchar_nolock() and got AC in 46 ms...
Mahilewets
Re: _getchar_nolock can really boost your code
// Problem
1517. Freedom of Choice
27 May 2017 09:56
And 31 ms with _putchar_nolock!
© 2000–2026
Timus Online Judge Team
. All rights reserved.