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 21, 2024 10:44LaihoLaihoScore: 5,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 10:445,66342,101,78116,108,0002,013,0002,375,680
2Dec 21, 2024 10:445,67236,431,99416,133,0002,016,0002,285,568
3Dec 21, 2024 10:445,68042,007,11917,166,0001,009,0002,375,680
4Dec 21, 2024 10:445,68944,584,29717,194,0001,011,0002,371,584
5Dec 21, 2024 10:445,69342,391,01816,192,0002,024,0002,379,776
6Dec 21, 2024 10:445,71148,046,98116,245,0002,030,0002,375,680
7Dec 21, 2024 10:445,71735,485,83718,295,00002,285,568
8Dec 21, 2024 10:445,71847,282,36017,283,0001,016,0002,371,584
9Dec 21, 2024 10:445,72441,756,53517,301,0001,017,0002,371,584