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 28, 2026 12:43GKP00GKP00Score: 19,015Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2026 12:4318,77985,989,11733,052,00027,042,0002,265,088
2Jan 28, 2026 12:4318,84883,498,19231,161,00029,151,0002,314,240
3Jan 28, 2026 12:4318,85389,027,47831,171,00029,160,0002,318,336
4Jan 28, 2026 12:4318,88486,213,90829,207,00031,222,0002,289,664
5Jan 28, 2026 12:4319,01586,071,76127,381,00033,466,0002,289,664
6Jan 28, 2026 12:4319,03991,050,55531,960,00028,964,0002,318,336
7Jan 28, 2026 12:4319,04692,038,12932,971,00027,976,0002,289,664
8Jan 28, 2026 12:4319,08789,800,38731,039,00030,038,0002,318,336
9Jan 28, 2026 12:4319,10489,345,25629,063,00032,069,0002,318,336