Borderou de evaluare (job #2725579)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 19 martie 2021 11:16:50
Problema Linegraph Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:34:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < G[u].size() ; i ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'void build(int, int)': main.cpp:60:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0 ; i < c[cmp].size() ; i ++) ~~^~~~~~~~~~~~~~~ main.cpp:68:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < nc[v].size() ; j ++) ~~^~~~~~~~~~~~~~ main.cpp: In function 'void afisare()': main.cpp:78:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0 ; j < T[i].size() ; j ++) ~~^~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:104:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0 ; j < c[i].size() && ok ; j ++) ~~^~~~~~~~~~~~~ main.cpp:105:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(k = j + 1 ; k < c[i].size() && ok ; k ++) ~~^~~~~~~~~~~~~ main.cpp:83:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("linegraph.in", "r", stdin); ^ main.cpp:84:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("linegraph.out", "w", stdout); ^ main.cpp:86:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:90:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:93:34: 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
18ms262kbOK!2
2126ms655kbOK!2
36ms1441kbOK!2
4278ms5898kbOK!6
57ms1310kbOK!2
66ms1441kbOK!2
77ms1441kbOK!2
88ms1441kbOK!3
92ms262kbOK!11
103ms262kbOK!13
117ms786kbOK!3
122ms262kbOK!13
133ms393kbOK!5
146ms1048kbOK!3
1517ms393kbOK!3
169ms524kbOK!3
177ms786kbOK!3
183ms262kbOK!13
19245ms5505kbOK!7
2078ms393kbOK!2
Punctaj total100

Ceva nu functioneaza?