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 3, 2023 20:50Hal FHal FScore: 4,893Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:504,84237,674,47614,461,0001,032,0002,269,184
2Jan 3, 2023 20:504,84332,726,00314,464,0001,033,0002,371,584
3Jan 3, 2023 20:504,85340,178,39214,495,0001,035,0002,273,280
4Jan 3, 2023 20:504,85645,581,06214,503,0001,035,0002,289,664
5Jan 3, 2023 20:504,86332,474,22015,560,00002,387,968
6Jan 3, 2023 20:504,86939,025,55314,543,0001,038,0002,289,664
7Jan 3, 2023 20:504,89341,412,25215,658,00002,289,664
8Jan 3, 2023 20:504,89632,376,56414,622,0001,044,0002,289,664
9Jan 3, 2023 20:504,95843,521,45014,875,000991,0002,269,184
10Jan 3, 2023 20:505,11691,306,99516,369,74802,293,760
11Jan 3, 2023 20:505,12187,030,07016,387,14302,297,856
12Jan 3, 2023 20:505,13479,179,82016,428,27702,179,072