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 23, 2021 17:46Yuriy LyfenkoYuriy LyfenkoScore: 5,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:465,32842,585,91815,045,0002,006,0002,265,088
2May 23, 2021 17:465,33244,944,01316,060,0001,003,0002,265,088
3May 23, 2021 17:465,33944,119,35915,075,0002,010,0002,265,088
4May 23, 2021 17:465,34845,680,10415,101,0002,013,0002,400,256
5May 23, 2021 17:465,35434,179,42216,127,0001,007,0002,265,088
6May 23, 2021 17:465,35944,666,94715,132,0002,017,0002,265,088
7May 23, 2021 17:465,36344,858,89515,144,0002,019,0002,273,280
8May 23, 2021 17:465,39345,121,48517,256,00002,506,752
9May 23, 2021 17:465,40342,317,16216,273,0001,017,0002,506,752
10May 23, 2021 17:465,63391,602,66918,026,23802,273,280
11May 23, 2021 17:465,64486,125,64618,059,48802,273,280
12May 23, 2021 17:465,66799,064,44218,133,06402,273,280