Borderou de evaluare (job #1626258)

Utilizator preda.andreiPreda Andrei preda.andrei Data 3 martie 2016 00:02:49
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
10ms468kbIncorect00
2192ms724kbIncorect0
30ms696kbIncorect0
44ms520kbIncorect0
568ms664kbIncorect00
6152ms724kbIncorect0
740ms860kbKilled by signal 11(SIGSEGV).0
8160ms704kbOK100
9180ms708kbIncorect0
10180ms704kbOK10
Punctaj total0

Ceva nu functioneaza?