Borderou de evaluare (job #1593282)

Utilizator luca_robertaLuca Roberta luca_roberta Data 8 februarie 2016 15:04:28
Problema Cartele Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%d ",a[i][j]); ^ user.cpp:21:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%d ",b[i][j]); ^ user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cartele.in","r",stdin); ^ user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cartele.out","w",stdout); ^ user.cpp:11:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&c); ^ user.cpp:14:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",a[i][j]); ^ user.cpp:21:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",b[i][j]); ^ user.cpp:41:17: warning: ‘ok1’ may be used uninitialized in this function [-Wmaybe-uninitialized] if (ok1==1) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms248kbKilled by signal 11(SIGSEGV).00
20ms248kbKilled by signal 11(SIGSEGV).0
30ms252kbKilled by signal 11(SIGSEGV).0
40ms248kbKilled by signal 11(SIGSEGV).0
50ms248kbKilled by signal 11(SIGSEGV).0
60ms248kbKilled by signal 11(SIGSEGV).00
70ms244kbKilled by signal 11(SIGSEGV).0
80ms244kbKilled by signal 11(SIGSEGV).0
90ms252kbKilled by signal 11(SIGSEGV).0
100ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?