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 4, 2023 22:34Hal FHal FScore: 5,066Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 4, 2023 22:345,04332,799,56515,131,0001,008,0002,273,280
2Jan 4, 2023 22:345,05745,654,46614,160,0002,022,0002,265,088
3Jan 4, 2023 22:345,05940,824,93114,165,0002,023,0002,265,088
4Jan 4, 2023 22:345,05932,162,37514,167,0002,023,0002,273,280
5Jan 4, 2023 22:345,06334,330,54214,178,0002,025,0002,289,664
6Jan 4, 2023 22:345,06442,378,60215,194,0001,012,0002,289,664
7Jan 4, 2023 22:345,06640,170,25914,185,0002,026,0002,289,664
8Jan 4, 2023 22:345,08734,928,78614,244,0002,034,0002,289,664
9Jan 4, 2023 22:345,08939,148,17114,251,0002,035,0002,289,664
10Jan 4, 2023 22:345,34185,743,20817,090,11902,297,856
11Jan 4, 2023 22:345,36085,508,94117,151,58102,297,856
12Jan 4, 2023 22:345,36984,882,63017,181,06502,297,856