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,140Success
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,09040,540,46615,271,0001,018,0002,265,088
2Sep 20, 2022 03:095,10338,624,97716,330,00002,392,064
3Sep 20, 2022 03:095,10538,462,15316,335,00002,396,160
4Sep 20, 2022 03:095,11346,365,81815,341,0001,022,0002,392,064
5Sep 20, 2022 03:095,11442,297,72614,321,0002,045,0002,387,968
6Sep 20, 2022 03:095,12034,885,83316,383,00002,265,088
7Sep 20, 2022 03:095,14044,504,51916,447,00002,392,064
8Sep 20, 2022 03:095,14738,587,13916,471,00002,400,256
9Sep 20, 2022 03:095,15732,071,36116,501,00002,265,088
10Sep 20, 2022 03:095,30092,148,21616,959,66002,277,376
11Sep 20, 2022 03:095,30892,500,48716,985,80402,265,088
12Sep 20, 2022 03:095,33581,081,54317,070,60402,273,280