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:36olliecrowolliecrowScore: 4,477Success
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:364,44537,895,52913,208,0001,016,0002,535,424
2Mar 28, 2026 14:364,45135,657,02814,244,00002,498,560
3Mar 28, 2026 14:364,46430,381,46014,286,00002,494,464
4Mar 28, 2026 14:364,46634,011,53614,292,00002,494,464
5Mar 28, 2026 14:364,47330,575,27914,315,00002,482,176
6Mar 28, 2026 14:364,47325,633,00414,315,00002,269,184
7Mar 28, 2026 14:364,47634,236,77014,322,00002,494,464
8Mar 28, 2026 14:364,47726,489,61314,325,00002,494,464
9Mar 28, 2026 14:364,47730,127,74014,326,00002,269,184
10Mar 28, 2026 14:364,47938,623,56814,332,00002,498,560
11Mar 28, 2026 14:364,48038,963,69514,337,00002,531,328
12Mar 28, 2026 14:364,48429,911,79614,350,00002,531,328
13Mar 28, 2026 14:364,48831,657,07614,362,00002,531,328
14Mar 28, 2026 14:364,49229,277,19414,373,00002,490,368
15Mar 28, 2026 14:364,49741,369,17614,390,00002,502,656