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 22:47Mikhail DektyarevMikhail DektyarevScore: 4,859Success
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 22:474,82431,341,69414,408,0001,029,0002,281,472
2May 25, 2021 22:474,82833,736,45414,421,0001,030,0002,281,472
3May 25, 2021 22:474,83536,020,29215,472,00002,408,448
4May 25, 2021 22:474,83935,353,40314,454,0001,032,0002,404,352
5May 25, 2021 22:474,84542,615,90115,504,00002,281,472
6May 25, 2021 22:474,84632,149,05714,475,0001,033,0002,281,472
7May 25, 2021 22:474,84835,750,60814,481,0001,034,0002,281,472
8May 25, 2021 22:474,85238,563,53614,491,0001,035,0002,404,352
9May 25, 2021 22:474,85233,779,48915,527,00002,281,472
10May 25, 2021 22:474,85341,887,99115,531,00002,404,352
11May 25, 2021 22:474,85932,448,69814,514,0001,036,0002,523,136
12May 25, 2021 22:474,85937,629,49014,512,0001,036,0002,396,160
13May 25, 2021 22:474,85939,127,93414,514,0001,036,0002,281,472
14May 25, 2021 22:474,86132,415,86814,518,0001,037,0002,281,472
15May 25, 2021 22:474,86231,970,54514,521,0001,037,0002,412,544
16May 25, 2021 22:474,86837,068,31814,540,0001,038,0002,404,352
17May 25, 2021 22:474,87440,115,58614,557,0001,039,0002,486,272
18May 25, 2021 22:474,88030,956,81015,615,00002,400,256
19May 25, 2021 22:474,99193,460,87915,969,68002,174,976
20May 25, 2021 22:474,99847,991,91215,993,28602,256,896
21May 25, 2021 22:475,02148,359,59816,067,19802,297,856
22May 25, 2021 22:475,02475,331,29916,075,20102,297,856
23May 25, 2021 22:475,06091,612,44516,190,51902,297,856
24May 25, 2021 22:475,06863,631,81216,217,19002,285,568