- Owner
- Andrei Grigorean
- Problem
- LCM
- Source
- 1.14KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'void check_solution(int)': prog.cpp:36:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (best_lcm == -1 || current_lcm < best_lcm || current_lcm == best_lcm && n < best_n) { ^
Results
Test number Result Time 1 Ok 0.5640s 2 Ok 0.6767s 3 Ok 0.6641s 4 Ok 0.6593s 5 Ok 0.6663s 6 Ok 0.5678s 7 Ok 0.7136s 8 Ok 0.6678s 9 Ok 0.6541s 10 Ok 0.6783s 11 Ok 0.6591s 12 Ok 0.6603s 13 Ok 0.6632s 14 Wrong answer 0.7266s