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 9, 2023 21:39wizardstorewizardstoreScore: 5,986Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2023 21:395,90736,203,57918,901,00002,334,720
2Aug 9, 2023 21:395,91546,609,30217,933,000996,0002,285,568
3Aug 9, 2023 21:395,92550,845,71917,963,000997,0002,293,760
4Aug 9, 2023 21:395,93343,417,23617,988,000999,0002,334,720
5Aug 9, 2023 21:395,94846,497,70718,034,0001,001,0002,285,568
6Aug 9, 2023 21:395,96649,628,69117,081,0002,009,0002,334,720
7Aug 9, 2023 21:395,98691,512,89119,154,41802,265,088
8Aug 9, 2023 21:395,99796,122,60519,191,48402,269,184
9Aug 9, 2023 21:396,07245,603,82616,362,0003,067,0002,285,568
10Aug 9, 2023 21:396,12448,218,61416,503,0003,094,0002,322,432
11Aug 9, 2023 21:396,17488,019,73719,756,66002,269,184
12Aug 9, 2023 21:396,21349,818,11417,895,0001,988,0002,334,720