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:29Mikhail DektyarevMikhail DektyarevScore: 4,729Success
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:294,68543,719,27812,993,0001,999,0002,281,472
2May 25, 2021 23:304,69134,463,83713,010,0002,001,0002,408,448
3May 25, 2021 23:304,70640,396,32714,055,0001,003,0002,404,352
4May 25, 2021 23:294,70937,985,39115,070,00002,281,472
5May 25, 2021 23:304,71036,922,21514,067,0001,004,0002,396,160
6May 25, 2021 23:294,71034,393,31413,062,0002,009,0002,281,472
7May 25, 2021 23:304,71136,232,56914,071,0001,005,0002,281,472
8May 25, 2021 23:304,71530,686,06413,076,0002,011,0002,281,472
9May 25, 2021 23:304,71738,767,23213,082,0002,012,0002,396,160
10May 25, 2021 23:304,71832,067,11514,090,0001,006,0002,273,280
11May 25, 2021 23:294,72235,048,95513,097,0002,014,0002,281,472
12May 25, 2021 23:294,72531,942,03613,104,0002,016,0002,281,472
13May 25, 2021 23:294,72936,998,17913,116,0002,017,0002,281,472
14May 25, 2021 23:304,73632,785,00913,136,0002,020,0002,281,472
15May 25, 2021 23:294,74039,056,21214,157,0001,011,0002,502,656
16May 25, 2021 23:294,74331,771,69513,155,0002,023,0002,281,472
17May 25, 2021 23:294,75232,480,89613,180,0002,027,0002,281,472
18May 25, 2021 23:304,75538,368,14214,202,0001,014,0002,392,064
19May 25, 2021 23:294,90448,514,88815,692,45602,285,568
20May 25, 2021 23:304,90694,978,08015,699,25702,285,568
21May 25, 2021 23:294,94347,355,33015,817,20502,285,568
22May 25, 2021 23:294,94798,247,71215,829,84002,289,664
23May 25, 2021 23:304,95244,807,21315,845,24502,301,952
24May 25, 2021 23:305,34383,387,91617,096,25002,289,664