Borderou de evaluare (job #1585300)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 30 ianuarie 2016 22:04:54
Problema Cri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf( "%d", &A[i][j] ); ^ user.cpp:35:80: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if( (i != 1 || j != 1) || (i != X || j != X) || (i != N || j != M) && (i + j) % 2 != P[k] ) ^ user.cpp:15:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "cri.in" , "r", stdin ); ^ user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "cri.out", "w", stdout ); ^ user.cpp:18:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d %d %d %d", &N, &M, &X, &Y ); ^ user.cpp:21:32: 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
10ms368kbKilled by signal 11(SIGSEGV).0
20ms584kbKilled by signal 11(SIGSEGV).0
316ms976kbKilled by signal 11(SIGSEGV).0
420ms1180kbKilled by signal 11(SIGSEGV).0
556ms1776kbKilled by signal 11(SIGSEGV).0
60ms304kbKilled by signal 11(SIGSEGV).0
70ms312kbKilled by signal 11(SIGSEGV).0
864ms1784kbKilled by signal 11(SIGSEGV).0
90ms344kbKilled by signal 11(SIGSEGV).0
1064ms1784kbKilled by signal 11(SIGSEGV).0
110ms340kbKilled by signal 11(SIGSEGV).0
120ms372kbKilled by signal 11(SIGSEGV).0
130ms336kbKilled by signal 11(SIGSEGV).0
140ms584kbKilled by signal 11(SIGSEGV).0
1520ms1184kbKilled by signal 11(SIGSEGV).0
160ms376kbKilled by signal 11(SIGSEGV).0
1716ms980kbKilled by signal 11(SIGSEGV).0
180ms304kbKilled by signal 11(SIGSEGV).0
1964ms1792kbKilled by signal 11(SIGSEGV).0
200ms304kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?