Borderou de evaluare (job #1372569)

Utilizator RazvanStStatescu Razvan RazvanSt Data 4 martie 2015 14:17:45
Problema Piata Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%2d",a[i][j]); ^ user.cpp:47:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%d",s); ^ user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("piata.in","r",stdin); ^ user.cpp:18:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d",&n,&iT,&jT,&iM,&jM); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms456kbOK10
20ms228kbKilled by signal 11(SIGSEGV).0
30ms232kbKilled by signal 11(SIGSEGV).0
40ms232kbKilled by signal 11(SIGSEGV).0
50ms232kbKilled by signal 11(SIGSEGV).0
60ms224kbKilled by signal 11(SIGSEGV).0
70ms224kbKilled by signal 11(SIGSEGV).0
80ms224kbKilled by signal 11(SIGSEGV).0
90ms228kbKilled by signal 11(SIGSEGV).0
100ms280kbOK10
Punctaj total20

Ceva nu functioneaza?