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 25, 2021 23:21Mikhail DektyarevMikhail DektyarevScore: 4,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 23:214,70833,275,18514,060,0001,004,0002,277,376
2May 25, 2021 23:214,71142,076,97614,070,0001,005,0002,408,448
3May 25, 2021 23:214,71137,984,59414,070,0001,005,0002,269,184
4May 25, 2021 23:214,71839,663,30113,084,0002,012,0002,281,472
5May 25, 2021 23:214,72128,864,35414,100,0001,007,0002,400,256
6May 25, 2021 23:214,72231,716,39613,095,0002,014,0002,281,472
7May 25, 2021 23:214,72335,109,87214,105,0001,007,0002,281,472
8May 25, 2021 23:214,73341,814,08013,127,0002,019,0002,281,472
9May 25, 2021 23:214,73434,167,09513,129,0002,019,0002,281,472
10May 25, 2021 23:214,73436,876,01214,139,0001,009,0002,281,472
11May 25, 2021 23:214,73535,802,36313,131,0002,020,0002,396,160
12May 25, 2021 23:214,73538,859,26114,143,0001,010,0002,281,472
13May 25, 2021 23:214,73731,408,80414,149,0001,010,0002,281,472
14May 25, 2021 23:214,74135,380,90014,160,0001,011,0002,281,472
15May 25, 2021 23:214,74532,275,26114,172,0001,012,0002,281,472
16May 25, 2021 23:214,75229,945,17714,193,0001,013,0002,281,472
17May 25, 2021 23:214,75932,784,20113,199,0002,030,0002,400,256
18May 25, 2021 23:214,76837,685,71613,224,0002,034,0002,486,272
19May 25, 2021 23:214,90652,339,68115,699,57102,293,760
20May 25, 2021 23:214,92544,007,63515,760,64302,293,760
21May 25, 2021 23:214,93190,436,05415,778,40702,289,664
22May 25, 2021 23:214,94079,761,35915,806,57202,297,856
23May 25, 2021 23:215,01751,583,57616,053,68002,416,640
24May 25, 2021 23:215,394101,411,30717,259,83302,293,760