Pagini recente » Borderou de evaluare (job #278824) | Cod sursa (job #2139654) | Borderou de evaluare (job #1630410) | Borderou de evaluare (job #2928710) | Borderou de evaluare (job #2311729)
Borderou de evaluare (job #2311729)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:43:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
main.cpp:47:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &u, &v);
^
main.cpp:61:39: warning: 'R2' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", min(dfs(R1, 0), dfs(R2, 0)));
~~~^~~~~~~
main.cpp:61:27: warning: 'R1' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", min(dfs(R1, 0), dfs(R2, 0)));
~~~^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 7ms | 2490kb | OK | 10 |
| 2 | 7ms | 2490kb | OK | 10 |
| 3 | 7ms | 2490kb | OK | 10 |
| 4 | 9ms | 2621kb | OK | 10 |
| 5 | 18ms | 3145kb | OK | 10 |
| 6 | 34ms | 4063kb | OK | 10 |
| 7 | 123ms | 6553kb | OK | 10 |
| 8 | 257ms | 10616kb | OK | 10 |
| 9 | 256ms | 13762kb | OK | 10 |
| 10 | 228ms | 7471kb | OK | 10 |
| Punctaj total | 100 |