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 30, 2021 15:30Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 15:2900000Error: expected "978314 ", got "537 15014 978314 "
2May 30, 2021 15:305,02632,655,15514,073,0002,010,0002,265,088
3May 30, 2021 15:305,03445,478,04715,103,0001,006,0002,265,088
4May 30, 2021 15:305,04632,239,09414,130,0002,018,0002,387,968
5May 30, 2021 15:305,04736,390,31214,132,0002,018,0002,392,064
6May 30, 2021 15:305,05138,000,41915,154,0001,010,0002,392,064
7May 30, 2021 15:305,05539,313,67214,154,0002,022,0002,392,064
8May 30, 2021 15:305,06046,282,45814,168,0002,024,0002,265,088
9May 30, 2021 15:305,06236,578,28315,186,0001,012,0002,265,088
10May 30, 2021 15:305,06229,934,99614,173,0002,024,0002,396,160
11May 30, 2021 15:305,06845,154,88915,206,0001,013,0002,265,088
12May 30, 2021 15:305,07133,146,02014,200,0002,028,0002,265,088
13May 30, 2021 15:305,07741,331,41915,231,0001,015,0002,387,968
14May 30, 2021 15:305,08532,161,89815,255,0001,017,0002,527,232
15May 30, 2021 15:305,09336,563,31515,281,0001,018,0002,265,088
16May 30, 2021 15:305,09437,084,83515,284,0001,018,0002,396,160
17May 30, 2021 15:305,09632,862,15215,289,0001,019,0002,265,088
18May 30, 2021 15:305,09947,330,46415,297,0001,019,0002,527,232
19May 30, 2021 15:305,11233,562,53714,313,0002,044,0002,527,232
20May 30, 2021 15:305,23078,968,16616,736,62902,285,568
21May 30, 2021 15:305,23279,819,98916,741,16002,277,376
22May 30, 2021 15:305,23659,391,58916,755,51102,281,472
23May 30, 2021 15:305,24977,670,86816,797,00702,273,280
24May 30, 2021 15:305,26696,364,82916,851,58402,273,280
25May 30, 2021 15:305,27077,831,75416,864,13602,277,376