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 listApr 28, 2025 21:08lukostlukostScore: 4,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 21:084,43929,764,91612,175,0002,029,0002,449,408
2Apr 28, 2025 21:084,45233,783,51912,212,0002,035,0002,445,312
3Apr 28, 2025 21:084,45435,224,61812,217,0002,036,0002,445,312
4Apr 28, 2025 21:084,46036,993,70813,254,0001,019,0002,445,312
5Apr 28, 2025 21:084,46830,009,68513,275,0001,021,0002,527,232
6Apr 28, 2025 21:084,46936,987,62313,279,0001,021,0002,449,408
7Apr 28, 2025 21:084,48039,602,48613,312,0001,024,0002,531,328
8Apr 28, 2025 21:084,48427,857,28113,325,0001,025,0002,445,312
9Apr 28, 2025 21:084,49530,095,52713,358,0001,027,0002,531,328