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 04:51evgenikwtevgenikwtScore: 5,321Success
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 04:515,27736,489,94315,894,000993,0002,383,872
2Jun 5, 2021 04:515,28142,131,98915,906,000994,0002,392,064
3Jun 5, 2021 04:515,29543,311,96815,949,000996,0002,265,088
4Jun 5, 2021 04:515,30046,829,59315,964,000997,0002,383,872
5Jun 5, 2021 04:515,30140,287,23714,968,0001,995,0002,387,968
6Jun 5, 2021 04:515,31940,527,01016,019,0001,001,0002,265,088
7Jun 5, 2021 04:515,32140,317,30615,023,0002,003,0002,383,872
8Jun 5, 2021 04:515,32447,492,88516,034,0001,002,0002,396,160
9Jun 5, 2021 04:515,34536,429,39715,092,0002,012,0002,383,872
10Jun 5, 2021 04:515,50385,705,69817,608,25302,240,512
11Jun 5, 2021 04:515,50596,226,27617,614,61402,240,512
12Jun 5, 2021 04:515,52080,565,57617,664,86302,281,472