Pagini recente » Borderou de evaluare (job #272490) | Borderou de evaluare (job #3263616) | Borderou de evaluare (job #419503) | Borderou de evaluare (job #3272283) | Borderou de evaluare (job #2148337)
Borderou de evaluare (job #2148337)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, bool, bool*)’:
user.cpp:22:36: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if (!viz[i] && a[node][i] ^ st == 1 && in[i])
^
user.cpp: In function ‘int main()’:
user.cpp:70:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<int>::size_type {aka long unsigned int}’ [-Wformat=]
printf("%d\n%d\n", cost(ans), ans.size());
^
user.cpp:56:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soc.in", "r", stdin);
^
user.cpp:57:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soc.out", "w", stdout);
^
user.cpp:58:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:61:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &e[i]);
^
user.cpp:66:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1040kb | OK! | 5 |
2 | 12ms | 1324kb | OK! | 5 |
3 | 0ms | 1060kb | OK! | 5 |
4 | 0ms | 1072kb | OK! | 5 |
5 | 0ms | 1096kb | OK! | 5 |
6 | 0ms | 1132kb | OK! | 5 |
7 | 0ms | 1156kb | OK! | 5 |
8 | 0ms | 1172kb | OK! | 5 |
9 | 0ms | 1176kb | OK! | 5 |
10 | 4ms | 1216kb | OK! | 5 |
11 | 4ms | 1236kb | OK! | 5 |
12 | 8ms | 1260kb | OK! | 5 |
13 | 8ms | 1284kb | OK! | 5 |
14 | 12ms | 1320kb | OK! | 5 |
15 | 8ms | 1312kb | OK! | 5 |
16 | 12ms | 1316kb | OK! | 5 |
17 | 12ms | 1320kb | OK! | 5 |
18 | 12ms | 1320kb | OK! | 5 |
19 | 12ms | 1316kb | OK! | 5 |
20 | 12ms | 1324kb | OK! | 5 |
Punctaj total | 100 |