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 listMay 3, 2026 15:24TudyMTudyMScore: 5,449Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 15:345,42336,402,46116,099,0001,257,0002,367,488
2May 3, 2026 15:345,42432,852,23916,115,0001,244,0002,367,488
3May 3, 2026 15:345,42533,461,89816,115,0001,247,0002,375,680
4May 3, 2026 15:345,43131,862,37416,144,0001,236,0002,371,584
5May 3, 2026 15:345,44934,417,42316,167,0001,271,0002,371,584
6May 3, 2026 15:345,45135,694,00216,176,0001,270,0002,367,488
7May 3, 2026 15:345,46434,733,96216,176,0001,311,0002,367,488
8May 3, 2026 15:345,47435,989,10116,195,0001,322,0002,371,584
9May 3, 2026 15:345,61942,072,57216,898,0001,085,0002,375,680