Problem walking
User PlayVoltz
Submission Time 2023-11-01 10:49:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

walking.cpp: In function ‘bool customsort(trio, trio)’:
walking.cpp:13:36: error: invalid type argument of unary ‘*’ (have ‘int’)
13 | return a.start*a.speed*b.speed+*b.speed>b.start*b.speed*a.speed+l*a.speed;
| ^~~~~