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 12, 2021 13:47Mikhail DektyarevMikhail DektyarevScore: 5,043Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2021 13:475,00435,374,80214,012,0002,001,0002,519,040
2May 12, 2021 13:475,00534,981,68114,015,0002,002,0002,519,040
3May 12, 2021 13:475,00831,410,92414,023,0002,003,0002,506,752
4May 12, 2021 13:475,01136,873,01614,032,0002,004,0002,519,040
5May 12, 2021 13:475,01542,214,66414,042,0002,006,0002,379,776
6May 12, 2021 13:475,01944,750,94814,054,0002,007,0002,387,968
7May 12, 2021 13:475,02141,767,89114,060,0002,008,0002,519,040
8May 12, 2021 13:475,02133,305,30013,054,0003,012,0002,519,040
9May 12, 2021 13:475,03447,348,66414,095,0002,013,0002,383,872
10May 12, 2021 13:475,03638,292,46714,100,0002,014,0002,387,968
11May 12, 2021 13:475,03848,574,28914,106,0002,015,0002,519,040
12May 12, 2021 13:475,04043,462,71214,112,0002,016,0002,519,040
13May 12, 2021 13:475,04339,555,42614,122,0002,017,0002,387,968
14May 12, 2021 13:475,04742,539,82415,140,0001,009,0002,519,040
15May 12, 2021 13:475,04845,789,59614,136,0002,019,0002,387,968
16May 12, 2021 13:475,05631,904,24115,167,0001,011,0002,383,872
17May 12, 2021 13:475,05832,306,85815,176,0001,011,0002,519,040
18May 12, 2021 13:475,11044,456,88715,391,000961,0002,519,040
19May 12, 2021 13:475,27560,206,79616,880,48002,281,472
20May 12, 2021 13:475,30584,114,91416,976,70802,281,472
21May 12, 2021 13:475,31389,155,52017,002,24202,285,568
22May 12, 2021 13:475,34075,293,87217,089,16902,285,568
23May 12, 2021 13:475,34586,387,47517,104,09602,281,472
24May 12, 2021 13:475,35996,510,83117,148,57602,285,568