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 30, 2021 16:00Yuriy LyfenkoYuriy LyfenkoScore: 5,052Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:005,02342,733,59914,066,0002,009,0002,527,232
2May 30, 2021 16:005,02732,942,13615,080,0001,005,0002,387,968
3May 30, 2021 16:005,03436,687,69515,103,0001,006,0002,265,088
4May 30, 2021 16:005,03530,976,94215,106,0001,007,0002,265,088
5May 30, 2021 16:005,03634,852,03115,109,0001,007,0002,265,088
6May 30, 2021 16:005,03834,625,40514,108,0002,015,0002,265,088
7May 30, 2021 16:005,05247,415,61315,156,0001,010,0002,506,752
8May 30, 2021 16:005,06344,380,27015,189,0001,012,0002,265,088
9May 30, 2021 16:005,06935,772,24715,207,0001,013,0002,265,088
10May 30, 2021 16:005,21081,695,17716,671,84102,281,472
11May 30, 2021 16:005,22371,898,03316,713,24002,281,472
12May 30, 2021 16:005,24191,525,08416,771,46602,277,376