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 3, 2026 14:21HattonuriHattonuriScore: 4,496Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 14:214,45332,989,47012,214,0002,035,0002,281,472
2Jan 3, 2026 14:214,46635,244,28613,272,0001,020,0002,281,472
3Jan 3, 2026 14:214,47134,382,98912,263,0002,043,0002,281,472
4Jan 3, 2026 14:214,47933,661,69113,310,0001,023,0002,281,472
5Jan 3, 2026 14:214,47928,748,24813,309,0001,023,0002,281,472
6Jan 3, 2026 14:214,48041,244,71513,313,0001,024,0002,445,312
7Jan 3, 2026 14:214,48138,106,56013,315,0001,024,0002,445,312
8Jan 3, 2026 14:214,49632,779,93013,361,0001,027,0002,281,472
9Jan 3, 2026 14:214,50336,219,29613,381,0001,029,0002,445,312
10Jan 3, 2026 14:214,51030,251,00813,401,0001,030,0002,453,504
11Jan 3, 2026 14:214,51635,473,55813,418,0001,032,0002,281,472
12Jan 3, 2026 14:214,52230,016,50413,437,0001,033,0002,449,408
13Jan 3, 2026 14:214,53936,599,37913,487,0001,037,0002,453,504
14Jan 3, 2026 14:214,54838,295,05713,515,0001,039,0002,437,120
15Jan 3, 2026 14:214,82951,052,10014,422,0001,030,0002,445,312