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 28, 2021 15:20Yuriy LyfenkoYuriy LyfenkoScore: 5,197Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:205,15238,975,12016,486,00002,265,088
2May 28, 2021 15:205,15838,953,02915,476,0001,031,0002,392,064
3May 28, 2021 15:205,16637,606,77416,531,00002,392,064
4May 28, 2021 15:205,16744,195,00716,535,00002,400,256
5May 28, 2021 15:205,17240,946,22315,516,0001,034,0002,392,064
6May 28, 2021 15:205,19344,322,31915,579,0001,038,0002,265,088
7May 28, 2021 15:205,19750,692,57716,629,00002,392,064
8May 28, 2021 15:205,21045,072,01715,631,0001,042,0002,265,088
9May 28, 2021 15:205,21948,021,65216,701,00002,265,088
10May 28, 2021 15:205,33358,331,34517,064,55102,277,376
11May 28, 2021 15:205,35257,353,45917,125,58702,269,184
12May 28, 2021 15:205,39084,551,09417,248,39302,277,376