- Owner
- Andrei Grigorean
- Problem
- LCM
- Source
- 0.91KB
- Result
- Accepted
Compiler output
prog.cpp: In function 'void check_solution(int)': prog.cpp:23: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.6758s 2 Ok 0.6772s 3 Ok 0.6776s 4 Ok 0.6803s 5 Ok 0.6765s 6 Ok 0.6682s 7 Ok 0.6720s 8 Ok 0.6807s 9 Ok 0.5783s 10 Ok 0.7402s 11 Ok 0.6778s 12 Ok 0.6825s 13 Ok 0.6817s 14 Ok 0.6900s 15 Ok 0.6870s 16 Ok 0.6859s 17 Ok 0.5806s 18 Ok 0.6816s 19 Ok 0.6756s 20 Ok 0.6785s 21 Ok 0.5956s