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 14:41olliecrowolliecrowScore: 4,483Success
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 14:414,43536,552,14513,180,0001,013,0002,498,560
2Mar 28, 2026 14:414,45129,023,81114,243,00002,498,560
3Mar 28, 2026 14:414,45530,448,88014,255,00002,490,368
4Mar 28, 2026 14:404,45728,198,74614,262,00002,502,656
5Mar 28, 2026 14:404,47435,260,31014,316,00002,494,464
6Mar 28, 2026 14:414,47435,750,22514,317,00002,502,656
7Mar 28, 2026 14:414,47635,328,38214,322,00002,531,328
8Mar 28, 2026 14:414,48337,292,19214,346,00002,490,368
9Mar 28, 2026 14:414,48529,570,94014,352,00002,498,560
10Mar 28, 2026 14:414,48535,662,83214,352,00002,273,280
11Mar 28, 2026 14:414,48635,879,15613,329,0001,025,0002,498,560
12Mar 28, 2026 14:414,48632,225,74113,329,0001,025,0002,535,424
13Mar 28, 2026 14:414,49035,022,36813,343,0001,026,0002,486,272
14Mar 28, 2026 14:404,49128,459,37014,372,00002,494,464
15Mar 28, 2026 14:414,50129,296,85514,402,00002,531,328