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 21:17Hal FHal FScore: 4,921Success
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 21:174,85133,369,40715,524,00002,531,328
2Jan 3, 2023 21:174,86633,911,90414,534,0001,038,0002,289,664
3Jan 3, 2023 21:174,87735,899,31714,566,0001,040,0002,265,088
4Jan 3, 2023 21:174,89831,361,59714,629,0001,044,0002,281,472
5Jan 3, 2023 21:174,89937,392,35314,631,0001,045,0002,289,664
6Jan 3, 2023 21:174,90833,725,72015,706,00002,289,664
7Jan 3, 2023 21:174,92134,787,61513,780,0001,968,0002,531,328
8Jan 3, 2023 21:174,95636,065,60114,867,000991,0002,289,664
9Jan 3, 2023 21:174,96734,690,42314,900,000993,0002,281,472
10Jan 3, 2023 21:175,14385,997,95816,457,42102,297,856
11Jan 3, 2023 21:175,14887,428,67316,473,28602,289,664
12Jan 3, 2023 21:175,14988,891,76216,475,46802,301,952