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 19, 2021 23:50alex3dalex3dScore: 4,701Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:504,65734,767,12413,908,000993,0002,449,408
2May 19, 2021 23:514,67036,383,20713,949,000996,0002,449,408
3May 19, 2021 23:514,67034,636,65412,953,0001,992,0002,449,408
4May 19, 2021 23:504,67139,638,30413,951,000996,0002,441,216
5May 19, 2021 23:514,67331,650,97013,957,000996,0002,531,328
6May 19, 2021 23:514,67430,268,43712,963,0001,994,0002,265,088
7May 19, 2021 23:514,67529,445,33813,962,000997,0002,441,216
8May 19, 2021 23:514,67629,648,13013,965,000997,0002,437,120
9May 19, 2021 23:504,67936,071,70913,976,000998,0002,269,184
10May 19, 2021 23:504,68935,218,49714,006,0001,000,0002,445,312
11May 19, 2021 23:504,69038,908,52413,007,0002,001,0002,265,088
12May 19, 2021 23:504,69335,131,64214,016,0001,001,0002,441,216
13May 19, 2021 23:504,69334,876,60314,018,0001,001,0002,445,312
14May 19, 2021 23:514,70030,573,70514,039,0001,002,0002,269,184
15May 19, 2021 23:514,70036,545,94714,039,0001,002,0002,531,328
16May 19, 2021 23:504,70139,257,97514,040,0001,002,0002,269,184
17May 19, 2021 23:504,70232,047,94611,034,0004,012,0002,449,408
18May 19, 2021 23:514,71639,212,83214,084,0001,006,0002,531,328
19May 19, 2021 23:514,93883,197,91315,801,86502,195,456
20May 19, 2021 23:514,94873,294,45815,834,93902,211,840
21May 19, 2021 23:514,95075,768,10215,839,07902,195,456
22May 19, 2021 23:504,95064,454,76315,839,95602,195,456
23May 19, 2021 23:504,95476,189,02915,852,24502,195,456
24May 19, 2021 23:504,95874,810,73015,865,68802,207,744
25May 19, 2021 23:514,96380,471,71915,881,27302,191,360
26May 19, 2021 23:504,96888,013,74815,897,46302,191,360
27May 19, 2021 23:505,00371,024,28316,009,44202,199,552
28May 19, 2021 23:505,00876,474,81916,025,36902,203,648
29May 19, 2021 23:515,01181,066,57816,036,04502,199,552
30May 19, 2021 23:515,050100,192,96316,160,83002,260,992