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,312Success
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,27831,644,15515,898,000993,0002,265,088
2Jun 5, 2021 04:515,28533,553,85615,855,0001,057,0002,527,232
3Jun 5, 2021 04:515,29637,897,12615,950,000996,0002,265,088
4Jun 5, 2021 04:515,29732,861,64215,954,000997,0002,265,088
5Jun 5, 2021 04:515,30246,650,42715,969,000998,0002,527,232
6Jun 5, 2021 04:515,30840,717,94114,988,0001,998,0002,506,752
7Jun 5, 2021 04:515,31245,691,24114,998,0001,999,0002,265,088
8Jun 5, 2021 04:515,31833,819,02615,015,0002,002,0002,465,792
9Jun 5, 2021 04:515,32552,761,72916,038,0001,002,0002,265,088
10Jun 5, 2021 04:515,48382,094,82717,544,09802,285,568
11Jun 5, 2021 04:515,49494,743,77117,581,58902,277,376
12Jun 5, 2021 04:515,537108,784,63617,718,45202,289,664