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 4, 2026 12:19MukundanMukundanScore: 2,970,765Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 4, 2026 12:192,950,1599,471,505,1029,408,525,00031,984,0002,281,472
2Mar 4, 2026 12:192,962,8699,507,769,4329,455,196,00025,986,0002,281,472
3Mar 4, 2026 12:192,967,6639,525,031,2479,469,533,00026,990,0002,281,472
4Mar 4, 2026 12:192,970,7419,543,450,6879,469,386,00036,985,0002,281,472
5Mar 4, 2026 12:192,970,7659,533,444,9749,467,467,00038,981,0002,281,472
6Mar 4, 2026 12:192,972,9119,541,506,4369,476,333,00036,981,0002,523,136
7Mar 4, 2026 12:192,976,8489,555,051,7789,498,928,00026,985,0002,281,472
8Mar 4, 2026 12:192,982,8719,574,100,1519,513,203,00031,983,0002,281,472
9Mar 4, 2026 12:193,070,7219,852,816,1609,791,323,00034,983,0002,523,136