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 13, 2021 23:05evgenikwtevgenikwtScore: 5,310Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 23:055,27146,604,90914,883,0001,984,0002,265,088
2Jun 13, 2021 23:055,27846,944,70614,902,0001,987,0002,269,184
3Jun 13, 2021 23:055,29447,070,96815,944,000996,0002,527,232
4Jun 13, 2021 23:055,29544,283,46915,948,000996,0002,265,088
5Jun 13, 2021 23:055,29943,906,18814,962,0001,995,0002,265,088
6Jun 13, 2021 23:055,30844,699,10114,989,0001,998,0002,265,088
7Jun 13, 2021 23:055,31030,499,19015,994,000999,0002,506,752
8Jun 13, 2021 23:055,31642,851,11916,010,0001,000,0002,383,872
9Jun 13, 2021 23:055,33846,810,81416,079,0001,004,0002,265,088
10Jun 13, 2021 23:055,521101,410,46517,667,18702,289,664
11Jun 13, 2021 23:055,52184,317,00917,668,63902,285,568
12Jun 13, 2021 23:055,55088,837,88417,760,09702,273,280