Borderou de evaluare (job #2257878)

Utilizator PredaBossPreda Andrei PredaBoss Data 10 octombrie 2018 16:51:05
Problema Graf Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d %d",&n,&m,&x,&y); ^ user.cpp:12:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:12:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:12:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:15:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d",&p1,&p2); ^ user.cpp:15:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:43:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<nod[pos].size();i++) ~^~~~~~~~~~~~~~~~ user.cpp:53:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<ans.size();j++) ~^~~~~~~~~~~ user.cpp:56:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<el.size();i++) ~^~~~~~~~~~ user.cpp:65:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<r.size();i++) ~^~~~~~~~~ user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("graf.in","r",stdin); ^ user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("graf.out","w",stdout); ^ user.cpp:12:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d",&n,&m,&x,&y); ^ user.cpp:15:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&p1,&p2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1408kbIncorect0
20ms1412kbIncorect0
30ms1412kbIncorect0
40ms1408kbIncorect0
50ms1412kbIncorect0
60ms1412kbIncorect0
70ms1412kbIncorect0
80ms1412kbIncorect0
90ms1408kbIncorect0
100ms1408kbIncorect0
Punctaj total0

Ceva nu functioneaza?