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 listNov 6, 2024 23:39CountHarebourgCountHarebourgScore: 5,894Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 23:395,83649,532,02317,637,0001,037,0002,289,664
2Nov 7, 2024 15:375,88550,146,41716,849,0001,982,0002,289,664
3Nov 6, 2024 23:415,88631,846,72617,843,000991,0002,367,488
4Nov 7, 2024 15:375,88745,454,80916,855,0001,983,0002,289,664
5Nov 6, 2024 23:415,89144,764,83117,859,000992,0002,289,664
6Nov 6, 2024 23:395,89346,782,25616,873,0001,985,0002,269,184
7Nov 6, 2024 23:395,89349,358,46216,873,0001,985,0002,289,664
8Nov 6, 2024 23:395,89446,420,99216,875,0001,985,0002,289,664
9Nov 6, 2024 23:395,89447,460,60716,877,0001,985,0002,531,328
10Nov 6, 2024 23:395,89547,526,83716,879,0001,985,0002,289,664
11Nov 6, 2024 23:395,89644,675,81616,881,0001,986,0002,289,664
12Nov 6, 2024 23:415,89645,251,23816,881,0001,986,0002,289,664
13Nov 6, 2024 23:395,90450,420,32216,905,0001,988,0002,273,280
14Nov 6, 2024 23:395,91351,088,44818,920,00002,289,664
15Nov 7, 2024 15:375,91445,625,54816,932,0001,992,0002,265,088