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 listApr 10, 2024 19:42Robert BlackwellRobert BlackwellScore: 5,908Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 19:425,85244,237,49518,725,00002,383,872
2Apr 10, 2024 19:425,88647,209,00218,835,00002,392,064
3Apr 10, 2024 19:425,89149,976,03317,859,000992,0002,387,968
4Apr 10, 2024 19:425,89543,697,17618,865,00002,265,088
5Apr 10, 2024 19:425,89934,587,40817,885,000993,0002,265,088
6Apr 10, 2024 19:425,90044,174,93317,888,000993,0002,396,160
7Apr 10, 2024 19:425,90836,334,84016,916,0001,990,0002,256,896
8Apr 10, 2024 19:425,91547,139,91417,932,000996,0002,383,872
9Apr 10, 2024 19:425,92845,938,20017,971,000998,0002,265,088
10Apr 10, 2024 19:425,93192,233,61718,980,65302,277,376
11Apr 10, 2024 19:425,93961,603,78119,004,65002,285,568
12Apr 10, 2024 19:425,96783,988,07319,093,85102,293,760