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 19, 2022 09:59Kenneth MaplesKenneth MaplesScore: 5,321Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 09:595,27846,239,26814,903,0001,987,0002,387,968
2Sep 19, 2022 09:595,28236,713,77113,919,0002,982,0002,379,776
3Sep 19, 2022 09:595,30337,230,60014,974,0001,996,0002,396,160
4Sep 19, 2022 09:595,30543,173,44815,977,000998,0002,519,040
5Sep 19, 2022 09:595,31648,383,26815,011,0002,001,0002,519,040
6Sep 19, 2022 09:595,31845,235,58516,016,0001,001,0002,392,064
7Sep 19, 2022 09:595,32132,654,34215,025,0002,003,0002,387,968
8Sep 19, 2022 09:595,33641,720,72115,067,0002,008,0002,260,992
9Sep 19, 2022 09:595,33734,303,12616,075,0001,004,0002,519,040
10Sep 19, 2022 09:595,53084,280,80217,697,31802,273,280
11Sep 19, 2022 09:595,54187,629,74417,732,75302,289,664
12Sep 19, 2022 09:595,557106,603,23317,781,55402,281,472