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 listJun 5, 2021 03:07evgenikwtevgenikwtScore: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 03:075,27139,170,42115,876,000992,0002,527,232
2Jun 5, 2021 03:075,27244,111,88115,877,000992,0002,265,088
3Jun 5, 2021 03:075,27431,886,68914,892,0001,985,0002,265,088
4Jun 5, 2021 03:075,27733,914,18815,893,000993,0002,383,872
5Jun 5, 2021 03:075,27833,146,28115,895,000993,0002,392,064
6Jun 5, 2021 03:075,27843,201,00514,903,0001,987,0002,387,968
7Jun 5, 2021 03:075,28843,488,61615,928,000995,0002,265,088
8Jun 5, 2021 03:075,29034,716,13715,934,000995,0002,265,088
9Jun 5, 2021 03:075,29442,275,58114,949,0001,993,0002,265,088
10Jun 5, 2021 03:075,46264,009,81517,479,70502,277,376
11Jun 5, 2021 03:075,48055,166,85517,535,15202,277,376
12Jun 5, 2021 03:075,48792,274,66617,559,10502,289,664