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 29, 2021 08:44Dmitry DolgopolovDmitry DolgopolovScore: 5,121Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 08:435,08240,958,32314,230,0002,032,0002,453,504
2May 29, 2021 08:445,09035,551,25116,287,00002,445,312
3May 29, 2021 08:435,09839,450,20916,314,00002,265,088
4May 29, 2021 08:445,10141,669,68916,323,00002,441,216
5May 29, 2021 08:435,10540,686,44716,335,00002,441,216
6May 29, 2021 08:435,10532,382,89416,335,00002,441,216
7May 29, 2021 08:435,10631,313,51714,296,0002,042,0002,531,328
8May 29, 2021 08:445,10838,277,49316,344,00002,437,120
9May 29, 2021 08:445,11144,810,77415,333,0001,022,0002,441,216
10May 29, 2021 08:445,11331,442,57015,338,0001,022,0002,449,408
11May 29, 2021 08:435,11938,926,46416,382,00002,269,184
12May 29, 2021 08:435,12038,775,86516,383,00002,437,120
13May 29, 2021 08:445,12130,144,40716,388,00002,437,120
14May 29, 2021 08:435,12841,657,83516,408,00002,269,184
15May 29, 2021 08:435,13032,318,01914,364,0002,052,0002,269,184
16May 29, 2021 08:445,13131,453,95015,392,0001,026,0002,269,184
17May 29, 2021 08:445,13237,287,45015,396,0001,026,0002,441,216
18May 29, 2021 08:445,13336,121,92716,424,00002,441,216
19May 29, 2021 08:445,32659,394,43217,042,97502,195,456
20May 29, 2021 08:435,35352,234,38617,130,58202,203,648
21May 29, 2021 08:445,36440,189,05317,164,44802,195,456
22May 29, 2021 08:435,36677,212,25517,171,94702,207,744
23May 29, 2021 08:445,38481,858,52617,228,37002,195,456
24May 29, 2021 08:435,41651,689,47117,329,96302,260,992