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 listFeb 2, 2025 18:33Sergey SerebryakovSergey SerebryakovScore: 2,770,037Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 2, 2025 18:332,762,2288,869,632,9008,805,144,00033,985,0002,289,664
2Feb 2, 2025 18:332,766,0558,884,185,5628,822,391,00028,984,0002,277,376
3Feb 2, 2025 18:332,766,2688,884,471,7638,817,074,00034,984,0002,265,088
4Feb 2, 2025 18:332,769,0698,889,623,9078,829,031,00031,989,0002,277,376
5Feb 2, 2025 18:332,770,0378,892,553,4828,834,131,00029,986,0002,277,376
6Feb 2, 2025 18:332,770,2078,899,263,2978,836,676,00027,986,0002,277,376
7Feb 2, 2025 18:332,770,3518,894,787,5148,830,139,00034,984,0002,277,376
8Feb 2, 2025 18:332,799,4338,987,049,5328,934,196,00023,989,0002,265,088
9Feb 2, 2025 18:332,806,5049,011,050,4848,947,826,00032,988,0002,523,136