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 24, 2022 12:14Robert BurkeRobert BurkeScore: 4,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:144,44233,451,29512,184,0002,030,0002,281,472
2Jul 24, 2022 12:144,44226,226,02212,184,0002,030,0002,449,408
3Jul 24, 2022 12:144,45034,488,64112,207,0002,034,0002,449,408
4Jul 24, 2022 12:144,45429,493,44113,236,0001,018,0002,277,376
5Jul 24, 2022 12:144,45833,129,48613,248,0001,019,0002,449,408
6Jul 24, 2022 12:144,46830,022,71113,276,0001,021,0002,281,472
7Jul 24, 2022 12:144,47431,198,58813,294,0001,022,0002,449,408
8Jul 24, 2022 12:144,47427,737,77113,294,0001,022,0002,281,472
9Jul 24, 2022 12:144,51539,826,02014,447,00002,449,408
10Jul 24, 2022 12:144,68669,320,43214,996,46302,203,648
11Jul 24, 2022 12:144,70959,566,20115,067,49202,199,552
12Jul 24, 2022 12:144,71975,445,05315,100,37502,207,744