Pagini recente » Borderou de evaluare (job #1414645) | Borderou de evaluare (job #1026205) | Borderou de evaluare (job #2522460) | Borderou de evaluare (job #2461813) | Borderou de evaluare (job #1314628)
Borderou de evaluare (job #1314628)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int)’:
user.cpp:32:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0, i; k < G[x].size(); ++k)
^
user.cpp: In function ‘int main()’:
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.in", "r", stdin);
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &N);
^
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &C[i]);
^
user.cpp:22:68: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i", &a, &b), G[a].push_back(b), G[b].push_back(a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 1036kb | OK | 10 |
| 2 | 0ms | 612kb | OK | 10 |
| 3 | 0ms | 608kb | OK | 10 |
| 4 | 0ms | 604kb | OK | 10 |
| 5 | 0ms | 608kb | OK | 10 |
| 6 | 0ms | 604kb | OK | 10 |
| 7 | 8ms | 924kb | OK | 10 |
| 8 | 16ms | 1024kb | OK | 10 |
| 9 | 16ms | 1028kb | OK | 10 |
| 10 | 16ms | 1032kb | OK | 10 |
| Punctaj total | 100 |