Borderou de evaluare (job #1626267)

Utilizator preda.andreiPreda Andrei preda.andrei Data 3 martie 2016 00:06:52
Problema Gheizere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] fscanf(fin, "%d%d%d%d%d", &g[i].x, &g[i].y, &g[i].raza, &g[i].asteptare, &g[i].eruptie); ^ user.cpp:35:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:35:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:35:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:35:95: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=] user.cpp:32:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &n, &m, &p); ^ user.cpp:33:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &st, &fi); ^ user.cpp:35:96: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d%d%d", &g[i].x, &g[i].y, &g[i].raza, &g[i].asteptare, &g[i].eruptie); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms464kbIncorect00
2188ms604kbIncorect0
30ms460kbIncorect0
44ms484kbIncorect0
568ms560kbIncorect00
6132ms600kbIncorect0
7108ms600kbIncorect0
8164ms588kbOK100
9180ms584kbIncorect0
10180ms584kbOK10
Punctaj total0

Ceva nu functioneaza?