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 listSep 20, 2022 03:08Kenneth MaplesKenneth MaplesScore: 5,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2022 03:085,28246,167,22114,915,0001,988,0002,387,968
2Sep 20, 2022 03:085,28842,495,46215,864,0001,057,0002,523,136
3Sep 20, 2022 03:085,29645,215,54615,951,000996,0002,265,088
4Sep 20, 2022 03:085,30545,269,29514,978,0001,997,0002,260,992
5Sep 20, 2022 03:085,30837,100,45515,988,000999,0002,260,992
6Sep 20, 2022 03:085,32146,247,80515,025,0002,003,0002,400,256
7Sep 20, 2022 03:085,32343,282,04515,031,0002,004,0002,396,160
8Sep 20, 2022 03:085,32542,371,83314,034,0003,007,0002,523,136
9Sep 20, 2022 03:085,33844,950,29315,071,0002,009,0002,265,088
10Sep 20, 2022 03:085,49987,211,56417,596,63202,281,472
11Sep 20, 2022 03:085,52583,272,63217,678,60502,277,376
12Sep 20, 2022 03:085,53474,561,59317,707,62702,277,376