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:13Sergey SerebryakovSergey SerebryakovScore: 5,165Success
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:135,13831,992,66916,440,00002,273,280
2Jan 6, 2026 15:135,14341,777,40415,429,0001,028,0002,277,376
3Jan 6, 2026 15:135,15039,916,85016,480,00002,277,376
4Jan 6, 2026 15:135,16141,390,64115,483,0001,032,0002,396,160
5Jan 6, 2026 15:135,16537,490,63016,527,00002,510,848
6Jan 6, 2026 15:135,16834,757,03616,538,00002,277,376
7Jan 6, 2026 15:135,18841,399,73416,601,00002,277,376
8Jan 6, 2026 15:135,19246,584,94316,614,00002,277,376
9Jan 6, 2026 15:135,21431,787,03115,642,0001,042,0002,277,376