Borderou de evaluare (job #1470519)

Utilizator BorleaAndreiBorlea Andrei Daniel BorleaAndrei Data 11 august 2015 16:34:19
Problema Pioni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:60:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&c); ^ user.cpp:63:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(f,"%d",&i);date[1][i]++;c--; ^ user.cpp:82:3: warning: statement has no effect [-Wunused-value] {k==0; ^ user.cpp:105:9: warning: statement has no effect [-Wunused-value] k==0; ^ user.cpp:39:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%hu %hu %hu",&t,&n,&m); ^ user.cpp:43:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%hu %hu",&i,&j); ^ user.cpp:60:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&c); ^ user.cpp:63:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&i);date[1][i]++;c--; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1100msDepăşitMemory limit exceeded.0
2Depăşit2236kbTime limit exceeded.0
3Depăşit7148kbTime limit exceeded.0
4Depăşit1768kbTime limit exceeded.0
5Depăşit1932kbTime limit exceeded.0
6Depăşit2868kbTime limit exceeded.0
7Depăşit4020kbTime limit exceeded.0
820ms1872kbRaspuns gresit0
920ms2176kbRaspuns gresit0
10Depăşit476kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?