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,897Success
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:195,88844,426,05916,858,0001,983,0002,289,664
2Nov 6, 2024 23:195,89147,026,24416,867,0001,984,0002,273,280
3Nov 6, 2024 23:195,89251,352,15416,870,0001,984,0002,514,944
4Nov 6, 2024 23:195,89349,397,18017,866,000992,0002,277,376
5Nov 6, 2024 23:195,89450,469,41117,870,000992,0002,289,664
6Nov 6, 2024 23:195,89446,278,13016,876,0001,985,0002,289,664
7Nov 6, 2024 23:195,89443,198,82718,862,00002,523,136
8Nov 6, 2024 23:395,89447,541,26016,875,0001,985,0002,289,664
9Nov 6, 2024 23:195,89747,179,57716,885,0001,986,0002,535,424
10Nov 6, 2024 23:195,89748,618,96716,885,0001,986,0002,289,664
11Nov 6, 2024 23:195,89745,175,81816,885,0001,986,0002,265,088
12Nov 6, 2024 23:215,89945,508,30217,883,000993,0002,289,664
13Nov 6, 2024 23:215,90042,723,90716,892,0001,987,0002,531,328
14Nov 6, 2024 23:395,90239,756,31316,899,0001,988,0002,277,376
15Nov 6, 2024 23:195,90347,127,04917,894,000994,0002,535,424
16Nov 6, 2024 23:395,90651,052,90416,909,0001,989,0002,269,184
17Nov 6, 2024 23:195,91346,638,77516,931,0001,991,0002,269,184
18Nov 6, 2024 23:215,92051,732,44516,949,0001,994,0002,289,664