Borderou de evaluare (job #1670188)

Utilizator preda.andreiPreda Andrei preda.andrei Data 31 martie 2016 15:36:29
Problema Gheizere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void citesteGheizer(Gheizer&, FILE*)’: user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f, "%hd%hd%hd%hd%hd", &g.x, &g.y, &g.raza, &g.pauza, &g.eruptie); ^ user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 5 has type ‘int*’ [-Wformat=] user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 6 has type ‘int*’ [-Wformat=] user.cpp:158:75: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 7 has type ‘int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:40:52: 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", &n, &m, &k, &ls, &lf); ^ user.cpp: In function ‘void citesteGheizer(Gheizer&, FILE*)’: user.cpp:158:76: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%hd%hd%hd%hd%hd", &g.x, &g.y, &g.raza, &g.pauza, &g.eruptie); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms448kbIncorect00
28ms660kbIncorect0
38ms708kbOK10
40ms508kbIncorect0
54ms656kbIncorect00
68ms656kbIncorect0
78ms632kbOK10
812ms704kbOK1030
912ms704kbOK10
1012ms700kbOK10
Punctaj total30

Ceva nu functioneaza?