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 listAug 6, 2024 23:22zielajzielajScore: 4,705Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2024 23:224,67234,590,06912,956,0001,993,0002,289,664
2Aug 6, 2024 23:224,68031,906,10712,980,0001,997,0002,289,664
3Aug 6, 2024 23:224,68943,368,39514,006,0001,000,0002,289,664
4Aug 6, 2024 23:224,69234,733,72213,013,0002,002,0002,265,088
5Aug 6, 2024 23:224,69637,509,35613,023,0002,003,0002,281,472
6Aug 6, 2024 23:224,70230,772,27113,040,0002,006,0002,289,664
7Aug 6, 2024 23:224,70536,507,97513,048,0002,007,0002,289,664
8Aug 6, 2024 23:224,70530,732,88013,048,0002,007,0002,269,184
9Aug 6, 2024 23:224,71735,914,11613,081,0002,012,0002,289,664
10Aug 6, 2024 23:224,91781,565,52515,733,70102,301,952
11Aug 6, 2024 23:224,92687,523,12815,764,48402,256,896
12Aug 6, 2024 23:224,94694,569,21415,826,13702,306,048