Pagini recente » Borderou de evaluare (job #3272003) | Borderou de evaluare (job #2900573) | Borderou de evaluare (job #491078) | Borderou de evaluare (job #2535333) | Borderou de evaluare (job #2738311)
Borderou de evaluare (job #2738311)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < G[u].size() ; i ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:26:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("weightgraph.in", "r", stdin);
^
main.cpp:27:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("weightgraph.out", "w", stdout);
^
main.cpp:29:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
main.cpp:32:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 148ms | 7340kb | OK | 10 |
2 | 140ms | 6029kb | OK | 10 |
3 | 8ms | 2621kb | OK | 10 |
4 | 9ms | 2621kb | OK | 10 |
5 | 309ms | 9699kb | OK | 10 |
6 | 287ms | 10223kb | OK | 10 |
7 | 270ms | 10747kb | OK | 10 |
8 | 314ms | 11403kb | OK | 10 |
9 | 301ms | 11927kb | OK | 10 |
10 | 381ms | 11665kb | OK | 10 |
Punctaj total | 100 |