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 listMar 25, 2025 18:14wainCGPwainCGPScore: 5,290Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 25, 2025 18:145,27348,674,25615,880,000992,0002,420,736
2Mar 25, 2025 18:065,27644,059,66515,889,000993,0002,433,024
3Mar 25, 2025 18:125,27735,058,30315,894,000993,0002,531,328
4Mar 25, 2025 18:065,28431,499,54215,853,0001,056,0002,531,328
5Mar 25, 2025 18:125,28440,345,54714,921,0001,989,0002,531,328
6Mar 25, 2025 18:125,28436,003,33816,909,00002,510,848
7Mar 25, 2025 18:065,28441,352,56215,915,000994,0002,269,184
8Mar 25, 2025 18:065,28533,015,06314,923,0001,989,0002,433,024
9Mar 25, 2025 18:125,28734,715,49116,917,00002,531,328
10Mar 25, 2025 18:065,28942,211,65214,935,0001,991,0002,433,024
11Mar 25, 2025 18:125,29040,159,41115,932,000995,0002,531,328
12Mar 25, 2025 18:065,29241,542,27615,937,000996,0002,433,024
13Mar 25, 2025 18:125,29541,290,13415,948,000996,0002,269,184
14Mar 25, 2025 18:145,29737,745,09115,952,000997,0002,531,328
15Mar 25, 2025 18:065,30034,218,84115,964,000997,0002,531,328
16Mar 25, 2025 18:065,30641,214,03615,981,000998,0002,531,328
17Mar 25, 2025 18:145,31237,778,31515,998,000999,0002,531,328
18Mar 25, 2025 18:125,31531,164,92616,009,0001,000,0002,433,024
19Mar 25, 2025 18:125,32547,300,33816,039,0001,002,0002,428,928
20Mar 25, 2025 18:125,32536,765,01916,039,0001,002,0002,428,928
21Mar 25, 2025 18:065,33136,624,58916,055,0001,003,0002,433,024