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 18:12Eugene ZhydzetskiEugene ZhydzetskiScore: 6,063Success
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 18:126,01145,773,04718,222,0001,012,0002,334,720
2Aug 19, 2022 18:126,03143,558,78918,285,0001,015,0002,543,616
3Aug 19, 2022 18:126,04040,176,84616,277,0003,051,0002,334,720
4Aug 19, 2022 18:126,04036,069,52118,312,0001,017,0002,334,720
5Aug 19, 2022 18:126,04247,309,56217,187,0002,148,0002,334,720
6Aug 19, 2022 18:126,05842,021,75217,344,0002,040,0002,334,720
7Aug 19, 2022 18:126,06336,540,07418,381,0001,021,0002,334,720
8Aug 19, 2022 18:126,07039,334,99917,381,0002,044,0002,334,720
9Aug 19, 2022 18:126,08045,247,48517,409,0002,048,0002,334,720
10Aug 19, 2022 18:126,09270,439,19319,493,87402,224,128
11Aug 19, 2022 18:126,11962,773,92319,581,21902,244,608
12Aug 19, 2022 18:126,17988,119,02919,771,76702,248,704