|
|
back to boardIf you have WA#9 Posted by rkhapov 16 Jul 2016 18:44 I set condition to terminate program: while (!halt) { //bla bla bla executed++;
if (executed > MAX_EXECUTED) terminate_program(); } to while (executed < MAX_EXECUTED && !halt) { //bla bla bla executed++; } if (executed >= MAX_EXECUTED && !halt) terminate_program(); It helps me and I got AC :) Edited by author 16.07.2016 19:03 Edited by author 16.07.2016 19:04 Edited by author 16.07.2016 19:05 |
|
|