- Owner
- Andrei Grigorean
- Problem
- LCM
- Contest
- MindCoding 2016 Test Round (Div. 1)
- Source
- 0.93KB
- Result
- Wrong answer
Compiler output
prog.cpp: In function 'void check_solution(int)': prog.cpp:24: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.5961s 2 Ok 0.7117s 3 Ok 0.6435s 4 Ok 0.6509s 5 Ok 0.5394s 6 Ok 0.7074s 7 Ok 0.7668s 8 Ok 0.8773s 9 Ok 0.7278s 10 Ok 0.7826s 11 Ok 0.6056s 12 Ok 0.8143s 13 Ok 0.7407s 14 Wrong answer 0.6840s