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 6, 2026 15:32Sergey SerebryakovSergey SerebryakovScore: 4,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2026 15:324,46431,672,45513,265,0001,020,0002,277,376
2Jan 6, 2026 15:324,47235,169,45514,310,00002,277,376
3Jan 6, 2026 15:324,47437,058,33913,296,0001,022,0002,277,376
4Jan 6, 2026 15:324,47931,484,95013,310,0001,023,0002,277,376
5Jan 6, 2026 15:324,48231,962,75914,343,00002,510,848
6Jan 6, 2026 15:324,48234,741,24014,343,00002,400,256
7Jan 6, 2026 15:324,48331,804,92414,346,00002,396,160
8Jan 6, 2026 15:324,49735,589,07514,390,00002,510,848
9Jan 6, 2026 15:324,50630,833,09014,419,00002,277,376