Borderou de evaluare (job #1204857)

Utilizator radu_cebotariRadu Cebotari radu_cebotari Data 4 iulie 2014 11:42:25
Problema Sate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void bfs(short int)’: user.cpp:21:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < v[k].size() ; i++){ ^ user.cpp: In function ‘int main()’: user.cpp:41:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d%d",&n,&m,&x1,&y1); ^ user.cpp:41:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:41:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:41:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:46:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d",&x,&y,&c); ^ user.cpp:46:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:46:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:38:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sate.in","r",stdin); ^ user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sate.out","w",stdout); ^ user.cpp:41:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&n,&m,&x1,&y1); ^ user.cpp:46:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms984kbIncorect00
20ms992kbIncorect0
30ms992kbIncorect0
40ms996kbIncorect00
50ms996kbIncorect0
60ms988kbIncorect0
70ms1000kbIncorect00
80ms984kbIncorect0
90ms1012kbIncorect0
100ms1004kbIncorect00
110ms992kbIncorect0
1228ms1668kbIncorect0
1320ms1560kbIncorect00
1420ms1800kbIncorect0
154ms1272kbIncorect0
164ms1328kbIncorect0
170ms992kbIncorect00
1828ms1844kbIncorect0
1912ms1388kbIncorect0
200ms988kbIncorect0
Punctaj total0

Ceva nu functioneaza?