Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 8, 2024 21:55AndreyTSAndreyTSScore: 5,316Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:555,26932,537,03615,869,000991,0002,269,184
2Jun 8, 2024 21:555,27740,905,30815,893,000993,0002,289,664
3Jun 8, 2024 21:555,28038,073,88715,902,000993,0002,527,232
4Jun 8, 2024 21:555,29344,268,82114,946,0001,992,0002,289,664
5Jun 8, 2024 21:555,30336,375,08514,974,0001,996,0002,289,664
6Jun 8, 2024 21:555,30840,715,68714,987,0001,998,0002,289,664
7Jun 8, 2024 21:555,31645,741,01715,011,0002,001,0002,289,664
8Jun 8, 2024 21:555,32139,002,77815,024,0002,003,0002,289,664
9Jun 8, 2024 21:555,33436,485,25315,062,0002,008,0002,289,664
10Jun 8, 2024 21:555,53883,099,15117,722,76902,297,856
11Jun 8, 2024 21:555,53974,924,01117,723,82802,301,952
12Jun 8, 2024 21:555,56484,887,76917,804,32402,174,976