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 listOct 5, 2026 18:59FrederickFrederickScore: 7,619Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 19:007,3016,032,392,87814,715,0008,650,00020,480
2Oct 5, 2026 19:007,4186,032,824,60814,793,0008,947,00020,480
3Oct 5, 2026 19:007,4946,033,038,95114,842,0009,140,00020,480
4Oct 5, 2026 19:007,5766,033,279,34515,236,0009,008,0002,113,536
5Oct 5, 2026 19:007,6196,033,302,15214,848,0009,534,00020,480
6Oct 5, 2026 19:007,6256,033,233,59014,893,0009,509,00020,480
7Oct 5, 2026 19:007,6836,033,669,06214,866,0009,722,00020,480
8Oct 5, 2026 19:008,1256,034,907,12215,473,00010,527,0002,113,536
9Oct 5, 2026 19:008,4586,035,940,09715,622,00011,445,00020,480