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 listMar 28, 2026 11:29olliecrowolliecrowScore: 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
1Mar 28, 2026 11:294,44632,053,31314,226,00002,531,328
2Mar 28, 2026 11:284,45238,334,00513,229,0001,017,0002,494,464
3Mar 28, 2026 11:284,45945,392,43914,269,00002,494,464
4Mar 28, 2026 11:294,45928,440,67514,268,00002,490,368
5Mar 28, 2026 11:294,46025,077,00614,272,00002,531,328
6Mar 28, 2026 11:294,46345,099,61614,280,00002,498,560
7Mar 28, 2026 11:284,46836,521,38114,299,00002,531,328
8Mar 28, 2026 11:284,46833,620,19413,276,0001,021,0002,498,560
9Mar 28, 2026 11:294,46944,900,88514,300,00002,265,088
10Mar 28, 2026 11:284,47434,924,05614,316,00002,531,328
11Mar 28, 2026 11:294,47638,498,69813,300,0001,023,0002,531,328
12Mar 28, 2026 11:294,47826,377,40614,331,00002,531,328
13Mar 28, 2026 11:294,48537,818,91413,326,0001,025,0002,498,560
14Mar 28, 2026 11:294,48829,860,87714,361,00002,494,464
15Mar 28, 2026 11:284,49229,759,77014,374,00002,531,328