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 28, 2024 23:18korey-skorey-sScore: 5,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2024 23:185,58744,184,83115,892,0001,986,0002,289,664
2Dec 28, 2024 23:185,58848,680,88817,881,00002,289,664
3Dec 28, 2024 23:185,58832,657,22115,896,0001,987,0002,371,584
4Dec 28, 2024 23:185,59239,336,74116,842,0001,052,0002,289,664
5Dec 28, 2024 23:185,62444,106,70215,998,0001,999,0002,375,680
6Dec 28, 2024 23:185,62544,471,04317,001,0001,000,0002,375,680
7Dec 28, 2024 23:185,62838,875,23716,009,0002,001,0002,379,776
8Dec 28, 2024 23:185,62944,230,29717,014,0001,000,0002,289,664
9Dec 28, 2024 23:185,64935,120,11217,074,0001,004,0002,289,664