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 22, 2022 15:30Eugene ZhydzetskiEugene ZhydzetskiScore: 5,835Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 15:305,81537,014,30318,607,00002,334,720
2Aug 22, 2022 15:305,82135,845,54918,627,00002,334,720
3Aug 22, 2022 15:305,82336,372,08718,632,00002,334,720
4Aug 22, 2022 15:305,82745,296,64117,611,0001,035,0002,334,720
5Aug 22, 2022 15:305,83344,557,97017,629,0001,037,0002,334,720
6Aug 22, 2022 15:305,83447,551,81818,669,00002,535,424
7Aug 22, 2022 15:305,83591,783,41418,672,65802,240,512
8Aug 22, 2022 15:305,84543,277,75717,666,0001,039,0002,396,160
9Aug 22, 2022 15:305,85345,885,98317,689,0001,040,0002,531,328
10Aug 22, 2022 15:305,89948,258,02716,891,0001,987,0002,531,328
11Aug 22, 2022 15:305,97380,367,06819,113,30302,240,512
12Aug 22, 2022 15:306,00082,417,87019,199,86102,232,320