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 27, 2021 19:48Yuriy LyfenkoYuriy LyfenkoScore: 5,334Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:485,31330,384,27315,002,0002,000,0002,392,064
2May 27, 2021 19:485,31647,893,43116,012,0001,000,0002,404,352
3May 27, 2021 19:485,31748,276,72615,014,0002,001,0002,387,968
4May 27, 2021 19:485,32145,445,63616,025,0001,001,0002,392,064
5May 27, 2021 19:485,33145,535,24616,055,0001,003,0002,265,088
6May 27, 2021 19:485,33237,823,89516,058,0001,003,0002,265,088
7May 27, 2021 19:485,33450,579,20516,066,0001,004,0002,387,968
8May 27, 2021 19:485,34848,169,49716,106,0001,006,0002,265,088
9May 27, 2021 19:485,35430,658,54915,117,0002,015,0002,506,752
10May 27, 2021 19:485,52867,676,16917,689,99502,281,472
11May 27, 2021 19:485,54180,883,49417,732,35902,277,376
12May 27, 2021 19:485,56644,084,74417,810,30802,273,280