Borderou de evaluare (job #1383139)

Utilizator alexmisto342Turdean Alexandru alexmisto342 Data 9 martie 2015 22:12:08
Problema Zone Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void back()’: user.cpp:104:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d %d %d %d\n",i,i2,j,j2); ^ user.cpp:104:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:104:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long long int’ [-Wformat=] user.cpp:104:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long long int’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:116:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d",&n); ^ user.cpp:118:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘std::map<int, int>::mapped_type* {aka int*}’ [-Wformat=] fscanf(f,"%lld ",&m[i]); ^ user.cpp:123:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d ",&v[i][j]); ^ user.cpp:116:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&n); ^ user.cpp:118:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld ",&m[i]); ^ user.cpp:123:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d ",&v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbIncorect0
20ms300kbIncorect0
30ms484kbIncorect0
40ms684kbIncorect0
50ms680kbIncorect0
68ms1088kbIncorect0
712ms1092kbIncorect0
888ms2308kbIncorect0
960ms2312kbIncorect0
100ms320kbIncorect0
Punctaj total0

Ceva nu functioneaza?