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 listDec 22, 2023 23:59Kenneth MaplesKenneth MaplesScore: 5,078Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2023 23:595,02833,208,19714,078,0002,011,0002,265,088
2Dec 22, 2023 23:595,03240,702,56214,090,0002,012,0002,396,160
3Dec 22, 2023 23:595,04333,641,67214,122,0002,017,0002,265,088
4Dec 22, 2023 23:595,05232,156,45514,146,0002,020,0002,396,160
5Dec 22, 2023 23:595,05532,703,58515,165,0001,011,0002,506,752
6Dec 22, 2023 23:595,06033,072,72515,180,0001,012,0002,510,848
7Dec 22, 2023 23:595,07840,376,56414,220,0002,031,0002,265,088
8Dec 22, 2023 23:595,08333,637,17415,248,0001,016,0002,506,752
9Dec 22, 2023 23:595,10142,503,71815,302,0001,020,0002,387,968
10Dec 22, 2023 23:595,23697,344,55616,756,32902,269,184
11Dec 22, 2023 23:595,27575,588,15816,880,32402,260,992
12Dec 22, 2023 23:595,27564,637,09516,880,05402,260,992