Borderou de evaluare (job #2384094)

Utilizator Iulia25Hosu Iulia Iulia25 Data 20 martie 2019 11:55:58
Problema Rox Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:20:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d%d%d", &n, &m, &u); ^ main.cpp:20:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:20:29: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] main.cpp:22:61: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d%d%d%d%c%c", &k.l1, &k.c1, &k.l2, &k.c2, &c, &c); ^ main.cpp:22:61: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:22:61: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=] main.cpp:22:61: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=] main.cpp:24:8: warning: array subscript has type 'char' [-Wchar-subscripts] q[c].push_back(k); ^ main.cpp:27:16: warning: array subscript has type 'char' [-Wchar-subscripts] while (!q[c].empty()) { ^ main.cpp:28:14: warning: array subscript has type 'char' [-Wchar-subscripts] k = q[c].back(); ^ main.cpp:33:10: warning: array subscript has type 'char' [-Wchar-subscripts] q[c].pop_back(); ^ main.cpp:50:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d", &Q); ^ main.cpp:52:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] scanf("%d%d", &x1, &y1); ^ main.cpp:52:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=] main.cpp:18:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rox.in", "r", stdin); ^ main.cpp:19:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("rox.out", "w", stdout); ^ main.cpp:20:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n, &m, &u); ^ main.cpp:22:62: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%c%c", &k.l1, &k.c1, &k.l2, &k.c2, &c, &c); ^ main.cpp:50:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Q); ^ main.cpp:52:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x1, &y1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms393kbIncorect0
24ms393kbIncorect0
32ms262kbIncorect0
42ms131kbIncorect0
53ms262kbIncorect0
62ms131kbIncorect0
72ms262kbIncorect0
83ms262kbIncorect0
92ms131kbIncorect0
1029ms917kbIncorect0
1132ms917kbIncorect0
125ms1179kbIncorect0
132ms131kbIncorect0
142ms131kbIncorect0
1528ms1048kbIncorect0
1624ms1441kbIncorect0
1711ms1835kbIncorect0
182ms131kbIncorect0
192ms131kbIncorect0
202ms131kbIncorect0
Punctaj total0

Ceva nu functioneaza?