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 listOct 27, 2021 10:12Ilya AniskovetsIlya AniskovetsScore: 5,532Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 10:125,46637,190,69516,463,0001,028,0002,273,280
2Oct 27, 2021 10:125,47044,873,61417,503,00002,265,088
3Oct 27, 2021 10:125,47844,667,89016,500,0001,031,0002,289,664
4Oct 27, 2021 10:125,49639,581,73716,552,0001,034,0002,289,664
5Oct 27, 2021 10:125,50348,940,64816,573,0001,035,0002,289,664
6Oct 27, 2021 10:125,51847,981,50516,618,0001,038,0002,289,664
7Oct 27, 2021 10:125,53244,550,82217,703,00002,273,280
8Oct 27, 2021 10:125,53546,882,77216,671,0001,041,0002,273,280
9Oct 27, 2021 10:125,54651,680,63616,762,000986,0002,289,664
10Oct 27, 2021 10:125,63672,709,08018,035,70002,301,952
11Oct 27, 2021 10:125,64099,701,43618,048,62902,293,760
12Oct 27, 2021 10:125,69181,309,71918,211,66102,289,664