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,333Success
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,28142,228,32515,843,0001,056,0002,387,968
2Sep 20, 2022 03:085,29042,490,55314,938,0001,991,0002,396,160
3Sep 20, 2022 03:085,29544,288,83114,951,0001,993,0002,519,040
4Sep 20, 2022 03:085,30238,813,50315,969,000998,0002,392,064
5Sep 20, 2022 03:085,31245,152,85914,998,0001,999,0002,523,136
6Sep 20, 2022 03:085,32143,323,06116,026,0001,001,0002,519,040
7Sep 20, 2022 03:085,33335,443,79214,053,0003,011,0002,383,872
8Sep 20, 2022 03:085,33743,966,57815,068,0002,009,0002,387,968
9Sep 20, 2022 03:085,33836,558,49514,069,0003,014,0002,519,040
10Sep 20, 2022 03:085,51697,032,80917,652,66902,277,376
11Sep 20, 2022 03:085,55586,699,34717,776,22102,269,184
12Sep 20, 2022 03:085,56588,565,48817,809,26402,277,376