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:09Kenneth MaplesKenneth MaplesScore: 5,193Success
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:095,11236,409,13616,358,00002,392,064
2Sep 20, 2022 03:095,12533,338,14516,400,00002,265,088
3Sep 20, 2022 03:095,13034,933,33816,415,00002,265,088
4Sep 20, 2022 03:095,13138,737,57715,392,0001,026,0002,392,064
5Sep 20, 2022 03:095,13342,527,09716,427,00002,265,088
6Sep 20, 2022 03:095,14034,568,45815,420,0001,028,0002,392,064
7Sep 20, 2022 03:095,19344,169,98616,616,00002,392,064
8Sep 20, 2022 03:095,28439,664,56015,914,000994,0002,375,680
9Sep 20, 2022 03:095,28542,578,74914,924,0001,989,0002,265,088
10Sep 20, 2022 03:095,29585,382,66216,942,91102,269,184
11Sep 20, 2022 03:095,30570,748,73116,974,70502,269,184
12Sep 20, 2022 03:095,34492,897,74717,100,46802,269,184