Borderou de evaluare (job #2728807)

Utilizator betybety bety bety Data 23 martie 2021 18:47:42
Problema Linegraph Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void get_cbc(int, int)': main.cpp:35:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(nmuchii != cbc[ncbc].size() * (cbc[ncbc].size() - 1) / 2) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void dfs(int, int, int)': main.cpp:61:9: warning: variable 'cx' set but not used [-Wunused-but-set-variable] int cx; ^~ main.cpp: In function 'int main()': main.cpp:75: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:76: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:78:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:81:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:98:35: 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
168ms36175kbOK!2
2180ms36569kbOK!2
367ms36438kbOK!2
4501ms45158kbOK!6
578ms36306kbOK!2
679ms36438kbOK!2
779ms36438kbOK!2
880ms36306kbOK!3
974ms36175kbOK!11
1073ms36175kbOK!13
1178ms36282kbOK!3
1276ms36175kbOK!13
1375ms36175kbOK!5
1477ms36438kbOK!3
1576ms36306kbOK!3
1674ms36306kbOK!3
1780ms36306kbOK!3
1876ms36175kbOK!13
19384ms44822kbOK!7
20134ms36306kbOK!2
Punctaj total100

Ceva nu functioneaza?