Borderou de evaluare (job #1372564)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d %d %d %d %d",&n,&iT,&jT,&iM,&jM); ^ user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=] user.cpp:18:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long int*’ [-Wformat=] user.cpp:42:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long 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
18msDepăşitMemory limit exceeded.0
20ms220kbKilled by signal 11(SIGSEGV).0
30ms228kbKilled by signal 11(SIGSEGV).0
40ms224kbKilled by signal 11(SIGSEGV).0
50ms232kbKilled by signal 11(SIGSEGV).0
60ms220kbKilled by signal 11(SIGSEGV).0
70ms224kbKilled by signal 11(SIGSEGV).0
80ms224kbKilled by signal 11(SIGSEGV).0
90ms224kbKilled by signal 11(SIGSEGV).0
100ms296kbOK10
Punctaj total10

Ceva nu functioneaza?