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 20, 2022 13:51Eugene ZhydzetskiEugene ZhydzetskiScore: 5,905Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 13:515,888115,177,05318,840,18302,236,416
2Aug 20, 2022 13:515,89144,676,47718,851,00002,531,328
3Aug 20, 2022 13:515,90049,877,43117,886,000993,0002,535,424
4Aug 20, 2022 13:515,90044,881,84218,879,00002,334,720
5Aug 20, 2022 13:515,90343,551,87815,907,0002,982,0002,334,720
6Aug 20, 2022 13:515,90546,472,92216,907,0001,989,0002,334,720
7Aug 20, 2022 13:515,90544,498,29116,908,0001,989,0002,334,720
8Aug 20, 2022 13:515,90747,868,38817,908,000994,0002,334,720
9Aug 20, 2022 13:515,91045,079,67916,921,0001,990,0002,334,720
10Aug 20, 2022 13:515,92754,509,05415,972,0002,994,0002,535,424
11Aug 20, 2022 13:516,01679,640,82019,250,59602,240,512
12Aug 20, 2022 13:516,10394,712,03319,528,71602,224,128