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 listMay 22, 2021 08:46Dmitry DolgopolovDmitry DolgopolovScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 08:465,50338,975,57116,574,0001,035,0002,383,872
2May 22, 2021 08:465,51843,542,22216,619,0001,038,0002,265,088
3May 22, 2021 08:465,52534,854,11017,679,00002,502,656
4May 22, 2021 08:465,52747,255,46116,645,0001,040,0002,396,160
5May 22, 2021 08:465,53350,012,06617,704,00002,396,160
6May 22, 2021 08:465,54237,466,94217,734,00002,392,064
7May 22, 2021 08:465,57242,957,18516,840,000990,0002,265,088
8May 22, 2021 08:465,58749,486,48015,892,0001,986,0002,527,232
9May 22, 2021 08:465,58848,185,74116,887,000993,0002,265,088
10May 22, 2021 08:465,88778,332,35118,838,50102,277,376
11May 22, 2021 08:465,89181,954,35118,851,26602,285,568
12May 22, 2021 08:465,89184,992,29318,852,71202,285,568
13May 22, 2021 08:465,89486,408,77418,861,53902,285,568
14May 22, 2021 08:465,90895,269,46618,907,17102,285,568
15May 22, 2021 08:465,91769,515,43318,934,54202,269,184