Pagini recente » Borderou de evaluare (job #1192889) | Borderou de evaluare (job #3303582) | Borderou de evaluare (job #638102) | Borderou de evaluare (job #1152382) | Borderou de evaluare (job #2332656)
Borderou de evaluare (job #2332656)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:62:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(!a[x[i]][y[i]])
^
main.cpp:42:13: warning: unused variable 'semn' [-Wunused-variable]
int i,j,semn;
^~~~
main.cpp:43:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("snake.in","r",stdin);
^
main.cpp:44:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("snake.out","w",stdout);
^
main.cpp:45:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&l);
^
main.cpp:49:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK! | 10 |
| 2 | 2ms | 131kb | OK! | 10 |
| 3 | 3ms | 131kb | Raspuns gresit! | 0 |
| 4 | 3ms | 262kb | Raspuns gresit! | 0 |
| 5 | 5ms | 262kb | Raspuns gresit! | 0 |
| 6 | 5ms | 262kb | Raspuns gresit! | 0 |
| 7 | 1000ms | 131kb | Time limit exceeded | 0 |
| 8 | 1000ms | 262kb | Time limit exceeded | 0 |
| 9 | 8ms | 393kb | OK! | 10 |
| 10 | 8ms | 393kb | OK! | 10 |
| Punctaj total | 40 |