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 7, 2023 16:13Pavel ZagrebinPavel ZagrebinScore: 5,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 16:135,27542,278,25814,894,0001,985,0002,387,968
2Oct 7, 2023 16:135,27846,205,39814,904,0001,987,0002,392,064
3Oct 7, 2023 16:135,27945,829,32916,893,00002,527,232
4Oct 7, 2023 16:135,28543,190,77514,923,0001,989,0002,379,776
5Oct 7, 2023 16:135,28844,992,26315,927,000995,0002,375,680
6Oct 7, 2023 16:135,29244,129,52315,939,000996,0002,265,088
7Oct 7, 2023 16:135,30445,033,81915,976,000998,0002,396,160
8Oct 7, 2023 16:135,30831,998,33415,985,000999,0002,392,064
9Oct 7, 2023 16:135,31543,947,97815,008,0002,001,0002,265,088
10Oct 7, 2023 16:135,528100,478,64417,690,60202,293,760
11Oct 7, 2023 16:135,57874,937,52317,848,45702,289,664
12Oct 7, 2023 16:135,61070,738,09117,951,39902,281,472