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 listJul 21, 2023 16:31gchebanovgchebanovScore: 5,198Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2023 16:315,15033,759,46615,450,0001,030,0002,408,448
2Jul 21, 2023 16:315,15737,281,25215,471,0001,031,0002,400,256
3Jul 21, 2023 16:315,15733,434,06315,471,0001,031,0002,404,352
4Jul 21, 2023 16:315,16131,065,18315,483,0001,032,0002,400,256
5Jul 21, 2023 16:315,16338,898,78316,521,00002,408,448
6Jul 21, 2023 16:315,17241,097,01215,516,0001,034,0002,404,352
7Jul 21, 2023 16:315,19849,109,98516,635,00002,285,568
8Jul 21, 2023 16:315,19940,628,60315,599,0001,039,0002,285,568
9Jul 21, 2023 16:315,20832,251,25915,624,0001,041,0002,400,256
10Jul 21, 2023 16:315,36486,775,45217,163,39502,306,048
11Jul 21, 2023 16:315,37094,914,13717,183,87702,256,896
12Jul 21, 2023 16:315,37362,638,56317,195,17502,301,952