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 19, 2024 18:10AnSaAnSaScore: 5,885Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 18:105,82148,295,61817,594,0001,034,0002,269,184
2Jan 19, 2024 18:105,82447,848,76017,601,0001,035,0002,293,760
3Jan 19, 2024 18:105,83136,786,18017,623,0001,036,0002,265,088
4Jan 19, 2024 18:105,83337,021,86517,628,0001,036,0002,293,760
5Jan 19, 2024 18:105,84245,128,74417,657,0001,038,0002,293,760
6Jan 19, 2024 18:105,88095,245,75618,814,41102,297,856
7Jan 19, 2024 18:105,88545,357,96916,850,0001,982,0002,293,760
8Jan 19, 2024 18:105,89545,390,58317,872,000992,0002,527,232
9Jan 19, 2024 18:105,89739,255,66517,878,000993,0002,293,760
10Jan 19, 2024 18:105,89844,806,79916,887,0001,986,0002,293,760
11Jan 19, 2024 18:106,04783,329,81519,349,27502,170,880
12Jan 19, 2024 18:106,06684,142,98519,412,21602,297,856