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 29, 2025 12:48wainCGPwainCGPScore: 5,307Success
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:155,27537,775,29415,888,000993,0002,424,832
2Mar 29, 2025 12:485,27645,765,04515,891,000993,0002,428,928
3Mar 26, 2025 12:475,27643,812,44315,889,000993,0002,433,024
4Mar 25, 2025 18:255,28034,090,56415,903,000993,0002,531,328
5Mar 26, 2025 12:475,28444,332,67814,921,0001,989,0002,531,328
6Mar 25, 2025 18:255,29333,971,35215,941,000996,0002,531,328
7Mar 25, 2025 18:195,29435,516,21815,944,000996,0002,433,024
8Mar 26, 2025 12:475,29435,145,70415,944,000996,0002,433,024
9Mar 26, 2025 12:475,29946,235,21915,960,000997,0002,531,328
10Mar 25, 2025 18:155,30335,918,97915,970,000998,0002,433,024
11Mar 25, 2025 18:195,30734,102,57215,984,000999,0002,428,928
12Mar 26, 2025 12:475,30743,633,69015,983,000998,0002,531,328
13Mar 26, 2025 12:475,30938,396,79014,991,0001,998,0002,433,024
14Mar 26, 2025 12:475,31242,806,21115,998,000999,0002,433,024
15Mar 25, 2025 18:255,31632,874,07615,011,0002,001,0002,416,640
16Mar 29, 2025 12:485,31850,155,24616,018,0001,001,0002,428,928
17Mar 29, 2025 12:485,31939,509,29815,019,0002,002,0002,428,928
18Mar 26, 2025 12:475,32134,453,46215,023,0002,003,0002,531,328
19Mar 25, 2025 18:195,32240,885,02116,030,0001,001,0002,269,184
20Mar 25, 2025 18:155,32837,285,18516,046,0001,002,0002,433,024
21Mar 26, 2025 12:475,34332,915,86415,086,0002,011,0002,420,736