Pagini recente » Borderou de evaluare (job #1068308) | Borderou de evaluare (job #469799) | Borderou de evaluare (job #2149848) | Borderou de evaluare (job #1039856) | Borderou de evaluare (job #2384094)
Borderou de evaluare (job #2384094)
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 |
1 | 4ms | 393kb | Incorect | 0 |
2 | 4ms | 393kb | Incorect | 0 |
3 | 2ms | 262kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 3ms | 262kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 262kb | Incorect | 0 |
8 | 3ms | 262kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 29ms | 917kb | Incorect | 0 |
11 | 32ms | 917kb | Incorect | 0 |
12 | 5ms | 1179kb | Incorect | 0 |
13 | 2ms | 131kb | Incorect | 0 |
14 | 2ms | 131kb | Incorect | 0 |
15 | 28ms | 1048kb | Incorect | 0 |
16 | 24ms | 1441kb | Incorect | 0 |
17 | 11ms | 1835kb | Incorect | 0 |
18 | 2ms | 131kb | Incorect | 0 |
19 | 2ms | 131kb | Incorect | 0 |
20 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 0 |