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 2, 2023 16:57Hal FHal FScore: 4,867Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:574,80536,619,75314,352,0001,025,0002,293,760
2Jan 2, 2023 16:574,83336,770,38414,434,0001,031,0002,293,760
3Jan 2, 2023 16:574,83337,837,40114,435,0001,031,0002,293,760
4Jan 2, 2023 16:574,84134,485,46914,458,0001,032,0002,293,760
5Jan 2, 2023 16:574,84232,563,87114,462,0001,033,0002,281,472
6Jan 2, 2023 16:574,86033,862,86414,516,0001,036,0002,293,760
7Jan 2, 2023 16:574,86732,504,38214,536,0001,038,0002,281,472
8Jan 2, 2023 16:574,87842,551,72014,569,0001,040,0002,277,376
9Jan 2, 2023 16:574,88133,831,28715,619,00002,277,376
10Jan 2, 2023 16:575,06268,257,98416,198,66702,297,856
11Jan 2, 2023 16:575,06670,712,32716,212,34002,179,072
12Jan 2, 2023 16:575,087110,289,63716,278,57902,297,856