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 listJan 2, 2026 22:39Carlos MGCarlos MGScore: 2,973,772Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2026 22:392,968,1119,532,781,4639,473,966,00023,989,0002,281,472
2Jan 2, 2026 22:392,970,7579,533,051,8129,476,436,00029,985,0002,281,472
3Jan 2, 2026 22:392,972,9239,548,686,1919,482,371,00030,984,0002,281,472
4Jan 2, 2026 22:392,973,3239,543,866,2239,483,649,00030,985,0002,281,472
5Jan 2, 2026 22:392,973,7729,545,382,0639,473,094,00042,977,0002,281,472
6Jan 2, 2026 22:392,974,3679,549,839,6239,479,990,00037,983,0002,281,472
7Jan 2, 2026 22:393,004,1009,640,848,1169,581,137,00031,983,0002,281,472
8Jan 2, 2026 22:393,070,5319,856,809,9499,793,716,00031,982,0002,281,472
9Jan 2, 2026 22:393,080,9889,890,113,2409,827,176,00031,987,0002,281,472