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 listJan 19, 2024 08:12AnSaAnSaScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 08:125,53545,931,55916,670,0001,041,0002,355,200
2Jan 19, 2024 08:125,53537,460,67316,671,0001,041,0002,555,904
3Jan 19, 2024 08:125,53746,382,86416,677,0001,042,0002,363,392
4Jan 19, 2024 08:125,54945,660,87516,714,0001,044,0002,445,312
5Jan 19, 2024 08:125,57545,174,75715,858,0001,982,0002,453,504
6Jan 19, 2024 08:125,58350,472,75616,875,000992,0002,363,392
7Jan 19, 2024 08:125,58837,920,87015,894,0001,986,0002,375,680
8Jan 19, 2024 08:125,61038,760,84315,957,0001,994,0002,449,408
9Jan 19, 2024 08:125,62643,889,35516,003,0002,000,0002,453,504
10Jan 19, 2024 08:125,80272,010,63718,566,13502,289,664
11Jan 19, 2024 08:125,82890,947,27518,649,35402,289,664
12Jan 19, 2024 08:125,82888,547,53118,650,69602,285,568