Borderou de evaluare (job #1574228)

Utilizator mihai.constantinConstantin Mihai mihai.constantin Data 20 ianuarie 2016 13:09:58
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(y.lin >= 1 && y.lin <= N && y.col >= 1 && y.col <= M) ^ user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("padure.in", "r", stdin); ^ user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("padure.out", "w", stdout); ^ user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:30:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x_0, &y_0); // NOD DE START ^ user.cpp:31:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &X, &Y); // NOD DE SOSIRE ^ user.cpp:34:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(j = 1; j <= M; j++) scanf("%d", &A[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms520kbOK10
20ms588kbOK10
30ms968kbOK10
44ms1420kbOK10
54ms1336kbOK10
628ms3568kbOK10
7236ms19968kbKilled by signal 11(SIGSEGV).0
8312ms21528kbKilled by signal 11(SIGSEGV).0
9384ms23876kbKilled by signal 11(SIGSEGV).0
10392ms23880kbKilled by signal 11(SIGSEGV).0
Punctaj total60

Ceva nu functioneaza?