Borderou de evaluare (job #1488035)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 17 septembrie 2015 19:58:30
Problema Robot2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void lee(int, int, int (*)[1007])’: user.cpp:49:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(inside(NewNode.x, NewNode.y) == 1 && a[NewNode.x][NewNode.y] == 0) ^ user.cpp: In function ‘int main()’: user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("robot2.in", "r", stdin); ^ user.cpp:70:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("robot2.out", "w", stdout); ^ user.cpp:71:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:74:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^ user.cpp:75:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &X, &Y); ^ user.cpp:77:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &X, &Y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbRaspuns partial corect!5
20ms892kbRaspuns partial corect!5
320ms1496kbGresit!0
4276ms3960kbGresit!0
5160ms3876kbGresit!0
6304ms6252kbGresit!0
7324ms6316kbRaspuns partial corect!3
8Depăşit6900kbTime limit exceeded.0
9Depăşit6600kbTime limit exceeded.0
1092ms6204kbRaspuns partial corect!7
Punctaj total20

Ceva nu functioneaza?