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 28, 2024 03:46Liam BuchananLiam BuchananScore: 5,772Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 03:465,68340,471,16616,165,0002,020,0002,273,280
2Jul 28, 2024 03:465,71341,244,01716,249,0002,031,0002,269,184
3Jul 28, 2024 03:465,72842,728,13216,294,0002,036,0002,289,664
4Jul 28, 2024 03:465,74643,828,32217,367,0001,021,0002,281,472
5Jul 28, 2024 03:465,76044,750,74517,408,0001,024,0002,289,664
6Jul 28, 2024 03:465,77040,407,35716,413,0002,051,0002,289,664
7Jul 28, 2024 03:465,77245,210,95118,469,00002,289,664
8Jul 28, 2024 03:465,78343,491,70817,477,0001,028,0002,289,664
9Jul 28, 2024 03:465,78734,335,18118,518,00002,383,872
10Jul 28, 2024 03:466,03280,821,41319,301,92602,256,896
11Jul 28, 2024 03:466,08193,021,05019,458,16902,179,072
12Jul 28, 2024 03:466,224100,114,90319,917,91702,293,760