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 listMay 10, 2024 00:41Joad NacerJoad NacerScore: 5,012Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 10, 2024 00:414,96738,789,66614,902,000993,0002,371,584
2May 10, 2024 00:434,97444,491,36713,928,0001,989,0002,289,664
3May 10, 2024 00:414,97737,335,45214,932,000995,0002,273,280
4May 10, 2024 00:414,97841,242,00013,939,0001,991,0002,277,376
5May 10, 2024 00:434,98832,808,83813,965,0001,995,0002,273,280
6May 10, 2024 00:434,98934,751,60213,971,0001,995,0002,265,088
7May 10, 2024 00:434,99437,869,86713,984,0001,997,0002,273,280
8May 10, 2024 00:414,99637,108,75513,988,0001,998,0002,273,280
9May 10, 2024 00:435,00144,029,80314,002,0002,000,0002,289,664
10May 10, 2024 00:415,00640,970,29714,017,0002,002,0002,289,664
11May 10, 2024 00:435,00642,018,67314,017,0002,002,0002,289,664
12May 10, 2024 00:415,01037,664,46214,028,0002,004,0002,289,664
13May 10, 2024 00:415,01242,031,80115,035,0001,002,0002,289,664
14May 10, 2024 00:435,02844,077,96114,077,0002,011,0002,273,280
15May 10, 2024 00:435,02933,065,87514,083,0002,011,0002,523,136
16May 10, 2024 00:415,03740,410,70115,112,0001,007,0002,289,664
17May 10, 2024 00:415,03839,344,81514,107,0002,015,0002,269,184
18May 10, 2024 00:435,03945,647,73515,119,0001,007,0002,289,664
19May 10, 2024 00:435,11589,735,22416,367,56502,179,072
20May 10, 2024 00:435,13691,680,77416,435,09002,179,072
21May 10, 2024 00:415,13782,659,36616,439,69902,306,048
22May 10, 2024 00:415,14483,744,47116,460,50102,306,048
23May 10, 2024 00:435,15183,128,18316,483,48402,301,952
24May 10, 2024 00:415,17173,479,78516,547,83802,297,856