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 1, 2023 18:31Hal FHal FScore: 5,464Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 18:315,03438,873,01515,102,0001,006,0002,273,280
2Jan 1, 2023 18:315,03432,454,00414,097,0002,013,0002,289,664
3Jan 1, 2023 18:315,03839,502,58914,107,0002,015,0002,289,664
4Jan 1, 2023 18:315,04142,083,42915,124,0001,008,0002,273,280
5Jan 1, 2023 18:315,04841,487,98615,143,0001,009,0002,289,664
6Jan 1, 2023 18:315,07941,510,60215,237,0001,015,0002,269,184
7Jan 1, 2023 18:315,46442,090,42016,458,0001,028,0002,371,584
8Jan 1, 2023 18:315,58973,047,95317,886,04502,174,976
9Jan 1, 2023 18:315,60335,965,12715,938,0001,992,0002,269,184
10Jan 1, 2023 18:315,69674,672,64918,227,50502,174,976
11Jan 1, 2023 18:315,73140,517,83916,303,0002,037,0002,289,664
12Jan 1, 2023 18:315,80587,604,23318,575,41502,297,856