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 24, 2021 19:30Dmitry DolgopolovDmitry DolgopolovScore: 5,021Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 19:294,99035,792,81113,972,0001,996,0002,449,408
2May 24, 2021 19:305,00137,551,09214,002,0002,000,0002,535,424
3May 24, 2021 19:295,00333,720,56814,008,0002,001,0002,273,280
4May 24, 2021 19:295,00437,780,39814,011,0002,001,0002,273,280
5May 24, 2021 19:295,00431,224,58214,013,0002,001,0002,445,312
6May 24, 2021 19:295,00432,221,76214,011,0002,001,0002,441,216
7May 24, 2021 19:305,00434,813,91214,011,0002,001,0002,449,408
8May 24, 2021 19:305,00840,794,81214,021,0002,003,0002,441,216
9May 24, 2021 19:305,00843,851,39714,024,0002,003,0002,535,424
10May 24, 2021 19:305,00832,917,35214,024,0002,003,0002,437,120
11May 24, 2021 19:305,01638,329,20814,044,0002,006,0002,273,280
12May 24, 2021 19:295,01832,260,41714,052,0002,007,0002,535,424
13May 24, 2021 19:305,02132,448,39814,058,0002,008,0002,441,216
14May 24, 2021 19:295,02340,962,69314,064,0002,009,0002,441,216
15May 24, 2021 19:295,02335,151,69214,066,0002,009,0002,445,312
16May 24, 2021 19:305,02547,453,61114,070,0002,010,0002,273,280
17May 24, 2021 19:295,02844,019,95514,078,0002,011,0002,441,216
18May 24, 2021 19:305,03441,029,98814,097,0002,013,0002,273,280
19May 24, 2021 19:305,22547,918,12816,721,30602,203,648
20May 24, 2021 19:295,24446,524,66216,780,40602,215,936
21May 24, 2021 19:305,26867,645,36016,858,32902,199,552
22May 24, 2021 19:305,27278,249,94316,870,91102,195,456
23May 24, 2021 19:295,30360,986,02116,968,42902,260,992
24May 24, 2021 19:295,36084,197,27417,152,98302,211,840