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 listFeb 22, 2024 13:20Huy Duc LeHuy Duc LeScore: 4,848Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:204,80134,667,73513,315,0002,048,0002,289,664
2Feb 22, 2024 13:204,82432,845,95514,409,0001,029,0002,289,664
3Feb 22, 2024 13:204,83139,690,30814,429,0001,030,0002,383,872
4Feb 22, 2024 13:204,83130,941,19714,430,0001,030,0002,273,280
5Feb 22, 2024 13:204,83539,224,57615,473,00002,289,664
6Feb 22, 2024 13:204,84532,454,35014,470,0001,033,0002,289,664
7Feb 22, 2024 13:204,84835,459,32913,446,0002,068,0002,269,184
8Feb 22, 2024 13:204,85437,049,28415,532,00002,363,392
9Feb 22, 2024 13:204,86336,620,86114,525,0001,037,0002,289,664
10Feb 22, 2024 13:204,97175,012,35115,906,20002,256,896
11Feb 22, 2024 13:205,03374,958,44616,105,79402,179,072
12Feb 22, 2024 13:205,06666,377,42516,212,47502,179,072