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 05:07evgenikwtevgenikwtScore: 5,282Success
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 05:075,26243,784,61415,849,000990,0002,527,232
2Jun 5, 2021 05:075,26845,097,60515,866,000991,0002,392,064
3Jun 5, 2021 05:075,27245,718,23715,879,000992,0002,265,088
4Jun 5, 2021 05:075,27743,142,92115,894,000993,0002,396,160
5Jun 5, 2021 05:075,28135,937,48614,912,0001,988,0002,265,088
6Jun 5, 2021 05:075,28145,940,41515,906,000994,0002,265,088
7Jun 5, 2021 05:075,28236,984,51915,909,000994,0002,383,872
8Jun 5, 2021 05:075,30236,967,08215,968,000998,0002,265,088
9Jun 5, 2021 05:075,31337,569,25315,002,0002,000,0002,265,088
10Jun 5, 2021 05:075,94284,976,23219,015,35102,277,376
11Jun 5, 2021 05:075,96163,652,06519,074,89802,265,088
12Jun 5, 2021 05:075,98582,064,99619,151,48302,281,472