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 listDec 29, 2024 19:52RichardRichardScore: 5,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2024 19:525,66644,747,48317,125,0001,007,0002,289,664
2Dec 29, 2024 19:525,69740,167,74516,205,0002,025,0002,289,664
3Dec 29, 2024 19:525,70139,332,75917,229,0001,013,0002,371,584
4Dec 29, 2024 19:525,70136,031,75417,231,0001,013,0002,289,664
5Dec 29, 2024 19:525,70345,789,23416,222,0002,027,0002,289,664
6Dec 29, 2024 19:525,70849,471,84616,235,0002,029,0002,289,664
7Dec 29, 2024 19:525,71246,578,90817,263,0001,015,0002,367,488
8Dec 29, 2024 19:525,71839,565,46916,266,0002,033,0002,289,664
9Dec 29, 2024 19:525,72335,943,74716,279,0002,034,0002,371,584