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 listJul 15, 2024 14:13kytanskytansScore: 5,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:135,45734,925,20917,461,00002,506,752
2Jul 15, 2024 14:135,46344,615,77617,481,00002,506,752
3Jul 15, 2024 14:135,46641,575,17517,492,00002,502,656
4Jul 15, 2024 14:135,46831,805,44917,497,00002,277,376
5Jul 15, 2024 14:135,46933,639,16517,500,00002,277,376
6Jul 15, 2024 14:135,46938,721,23017,500,00002,506,752
7Jul 15, 2024 14:135,47637,966,95517,524,00002,506,752
8Jul 15, 2024 14:135,47739,839,24117,525,00002,277,376
9Jul 15, 2024 14:135,50039,619,45916,565,0001,035,0002,506,752
10Jul 15, 2024 14:135,59979,330,48917,917,13202,252,800
11Jul 15, 2024 14:135,61189,277,02517,953,77502,252,800
12Jul 15, 2024 14:135,63858,054,47418,041,12502,252,800