Borderou de evaluare (job #1150679)

Utilizator PTAdrian64Pop-Tifrea Adrian PTAdrian64 Data 23 martie 2014 14:12:46
Problema Stramosi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d%d",&n,&m); ^ user.cpp:7:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:9:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] {fscanf(f,"%d",&t[0][i]); ^ user.cpp:26:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] {fscanf(f,"%d%d",&q,&p); ^ user.cpp:26:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:27:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(f2,"%d\n",t[p-1][q]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK!10
20ms248kbKilled by signal 11(SIGSEGV).0
34ms960kbKilled by signal 11(SIGSEGV).0
416ms4432kbKilled by signal 11(SIGSEGV).0
516ms4472kbKilled by signal 11(SIGSEGV).0
644ms13068kbKilled by signal 11(SIGSEGV).0
736ms6280kbKilled by signal 11(SIGSEGV).0
828ms1968kbKilled by signal 11(SIGSEGV).0
9236msDepăşitMemory limit exceeded.0
10248msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?