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 28, 2025 20:06Bohdan StorozhukBohdan StorozhukScore: 5,900Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 20:065,89334,640,41018,857,00002,330,624
2Jan 28, 2025 20:065,89846,657,34116,887,0001,986,0002,494,464
3Jan 28, 2025 20:065,89840,932,27217,881,000993,0002,494,464
4Jan 28, 2025 20:065,89939,941,47216,891,0001,987,0002,498,560
5Jan 28, 2025 20:065,90048,352,11616,894,0001,987,0002,330,624
6Jan 28, 2025 20:065,90846,506,88017,910,000995,0002,330,624
7Jan 28, 2025 20:065,91848,832,95216,944,0001,993,0002,330,624
8Jan 28, 2025 20:065,93450,441,08517,990,000999,0002,498,560
9Jan 28, 2025 20:065,94144,492,83917,009,0002,001,0002,330,624