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 30, 2021 23:08Egor SergeevEgor SergeevScore: 5,152Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2021 23:085,13235,287,26316,423,00002,502,656
2Jun 30, 2021 23:085,13533,271,31716,432,00002,498,560
3Jun 30, 2021 23:085,13639,025,84416,435,00002,502,656
4Jun 30, 2021 23:085,14032,988,81816,448,00002,277,376
5Jun 30, 2021 23:085,14134,768,80016,450,00002,502,656
6Jun 30, 2021 23:085,15134,680,39116,484,00002,490,368
7Jun 30, 2021 23:085,15230,873,05416,487,00002,502,656
8Jun 30, 2021 23:085,16337,935,13816,521,00002,277,376
9Jun 30, 2021 23:085,16629,953,32316,532,00002,494,464
10Jun 30, 2021 23:085,39283,019,47417,255,43502,256,896
11Jun 30, 2021 23:085,39447,473,68317,259,86702,240,512
12Jun 30, 2021 23:085,41677,341,93217,330,16302,236,416