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 listAug 19, 2022 17:35Eugene ZhydzetskiEugene ZhydzetskiScore: 5,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 17:355,84935,602,51118,717,00002,334,720
2Aug 19, 2022 17:355,89838,327,26817,881,000993,0002,334,720
3Aug 19, 2022 17:355,89947,192,11315,897,0002,980,0002,531,328
4Aug 19, 2022 17:355,90046,039,53917,887,000993,0002,334,720
5Aug 19, 2022 17:355,90047,859,22517,887,000993,0002,535,424
6Aug 19, 2022 17:355,91542,539,95516,937,0001,992,0002,375,680
7Aug 19, 2022 17:355,92044,991,71017,948,000997,0002,342,912
8Aug 19, 2022 17:355,92143,980,17516,953,0001,994,0002,535,424
9Aug 19, 2022 17:355,92379,088,58518,953,14802,236,416
10Aug 19, 2022 17:355,93342,412,10617,986,000999,0002,535,424
11Aug 19, 2022 17:356,02688,977,95119,283,30502,256,896
12Aug 19, 2022 17:356,086108,203,78819,476,65202,236,416