Borderou de evaluare (job #1327631)

Utilizator serbanSlincu Serban serban Data 26 ianuarie 2015 22:02:28
Problema Pescari Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:59:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&a[i][j]); ^ user.cpp:53:13: warning: unused variable ‘k’ [-Wunused-variable] int i,j,k=0; ^ user.cpp:56:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d %d",&m,&n,&p); ^ user.cpp:59:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms472kbOK10
20ms492kbOK10
30ms576kbOK10
428ms800kbOK10
5388ms1180kbOK10
644ms5616kbKilled by signal 11(SIGSEGV).0
7Depăşit5404kbTime limit exceeded.0
8Depăşit6744kbTime limit exceeded.0
9Depăşit7108kbTime limit exceeded.0
10Depăşit7032kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?