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 17, 2024 03:42Joad NacerJoad NacerScore: 5,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:425,27432,725,25514,893,0001,985,0002,265,088
2Apr 17, 2024 03:425,28140,560,04615,842,0001,056,0002,289,664
3Apr 17, 2024 03:425,29040,646,25214,938,0001,991,0002,531,328
4Apr 17, 2024 03:425,31139,532,35114,995,0001,999,0002,289,664
5Apr 17, 2024 03:425,32246,905,30415,027,0002,003,0002,265,088
6Apr 17, 2024 03:425,32241,550,95815,028,0002,003,0002,289,664
7Apr 17, 2024 03:425,33146,181,29416,055,0001,003,0002,289,664
8Apr 17, 2024 03:425,34140,626,11615,081,0002,010,0002,289,664
9Apr 17, 2024 03:425,35344,886,62315,115,0002,015,0002,273,280
10Apr 17, 2024 03:425,50655,180,62317,618,90702,301,952
11Apr 17, 2024 03:425,51985,452,33117,661,56302,301,952
12Apr 17, 2024 03:425,53191,114,19617,698,08102,174,976