Borderou de evaluare (job #2217510)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 30 iunie 2018 17:21:40
Problema Bfs2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 23

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fi,"%d", &v[i][j]); ^ user.cpp:51:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[tip][x] += (v[tip][x + 1] - v[tip][x]) - (v[tip][x] - v[tip][x - 1]); ^ user.cpp:51:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[tip][x] += (v[tip][x + 1] - v[tip][x]) - (v[tip][x] - v[tip][x - 1]); ^ user.cpp:51:44: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[tip][x] += (v[tip][x + 1] - v[tip][x]) - (v[tip][x] - v[tip][x - 1]); ^ user.cpp:51:58: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[tip][x] += (v[tip][x + 1] - v[tip][x]) - (v[tip][x] - v[tip][x - 1]); ^ user.cpp:51:70: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[tip][x] += (v[tip][x + 1] - v[tip][x]) - (v[tip][x] - v[tip][x - 1]); ^ user.cpp:37:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d%d", &len[0], &len[1], &s); ^ user.cpp:40:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &v[i][j]); ^ user.cpp:44:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &q); ^ user.cpp:47:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int x, y; fscanf(fi,"%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms3376kbOK5
20ms3380kbOK5
30ms3376kbOK6
44ms3380kbOK7
58ms3396kbWrong answer0
668ms3996kbWrong answer0
7124ms4092kbWrong answer0
876ms4136kbWrong answer0
980ms4228kbWrong answer0
1084ms4156kbWrong answer0
1180ms4260kbWrong answer0
1276ms3956kbWrong answer0
13156ms4164kbWrong answer0
Punctaj total23

Ceva nu functioneaza?