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 14:59Sergey SerebryakovSergey SerebryakovScore: 5,289Success
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 14:595,27344,049,87714,887,0001,985,0002,396,160
2Jan 6, 2026 14:595,27743,021,06515,894,000993,0002,400,256
3Jan 6, 2026 14:595,28235,439,44216,903,00002,277,376
4Jan 6, 2026 14:595,28338,944,19815,913,000994,0002,277,376
5Jan 6, 2026 14:595,28948,207,23115,929,000995,0002,510,848
6Jan 6, 2026 14:595,29343,962,00514,944,0001,992,0002,277,376
7Jan 6, 2026 14:595,29340,340,08714,946,0001,992,0002,404,352
8Jan 6, 2026 14:595,30446,265,35215,976,000998,0002,396,160
9Jan 6, 2026 14:595,31145,353,76214,995,0001,999,0002,277,376