Pagini recente » Borderou de evaluare (job #2739462) | Borderou de evaluare (job #1803160) | Search | Borderou de evaluare (job #2703313) | Borderou de evaluare (job #2327647)
Borderou de evaluare (job #2327647)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, bool, bool*)':
main.cpp:26:36: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
if (!viz[i] && a[node][i] ^ st == 1 && in[i])
~~~^~~~
main.cpp: In function 'int main()':
main.cpp:83: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());
^
main.cpp:66: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);
^
main.cpp:67: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);
^
main.cpp:69:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:72:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &e[i]);
^
main.cpp:77: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 | 2ms | 131kb | OK! | 5 |
| 2 | 18ms | 393kb | OK! | 5 |
| 3 | 2ms | 131kb | OK! | 5 |
| 4 | 2ms | 131kb | OK! | 5 |
| 5 | 3ms | 131kb | OK! | 5 |
| 6 | 3ms | 262kb | OK! | 5 |
| 7 | 4ms | 262kb | OK! | 5 |
| 8 | 4ms | 262kb | OK! | 5 |
| 9 | 4ms | 262kb | OK! | 5 |
| 10 | 8ms | 262kb | OK! | 5 |
| 11 | 10ms | 262kb | OK! | 5 |
| 12 | 11ms | 393kb | OK! | 5 |
| 13 | 13ms | 393kb | OK! | 5 |
| 14 | 17ms | 393kb | OK! | 5 |
| 15 | 10ms | 393kb | OK! | 5 |
| 16 | 18ms | 393kb | OK! | 5 |
| 17 | 19ms | 393kb | OK! | 5 |
| 18 | 18ms | 393kb | OK! | 5 |
| 19 | 18ms | 393kb | OK! | 5 |
| 20 | 18ms | 393kb | OK! | 5 |
| Punctaj total | 100 |