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 listJan 21, 2024 16:42matsuoka-601matsuoka-601Score: 4,871Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 16:424,83332,728,55814,436,0001,031,0002,285,568
2Jan 21, 2024 16:424,83638,871,37915,475,00002,285,568
3Jan 21, 2024 16:424,83838,572,72215,480,00002,527,232
4Jan 21, 2024 16:424,83938,933,49515,484,00002,527,232
5Jan 21, 2024 16:424,86432,201,70214,529,0001,037,0002,527,232
6Jan 21, 2024 16:424,86934,084,31314,543,0001,038,0002,285,568
7Jan 21, 2024 16:424,87130,627,79114,548,0001,039,0002,285,568
8Jan 21, 2024 16:424,88643,586,22714,592,0001,042,0002,371,584
9Jan 21, 2024 16:424,89332,293,83614,615,0001,043,0002,285,568
10Jan 21, 2024 16:425,05376,812,31316,171,08302,301,952
11Jan 21, 2024 16:425,07887,448,59516,248,85102,297,856
12Jan 21, 2024 16:425,091102,262,36716,292,19502,306,048