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 5, 2026 19:06olliecrowolliecrowScore: 4,367Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 5, 2026 19:064,34231,374,86012,901,000992,0002,273,280
2Mar 5, 2026 19:064,35236,696,81412,931,000994,0002,502,656
3Mar 5, 2026 19:064,36337,892,36812,965,000997,0002,494,464
4Mar 5, 2026 19:064,36630,180,05312,973,000997,0002,490,368
5Mar 5, 2026 19:064,36728,413,15512,976,000998,0002,498,560
6Mar 5, 2026 19:064,37130,645,72712,987,000999,0002,535,424
7Mar 5, 2026 19:064,37133,961,58012,988,000999,0002,273,280
8Mar 5, 2026 19:064,37645,487,76313,004,0001,000,0002,273,280
9Mar 5, 2026 19:064,39937,650,18613,072,0001,005,0002,535,424