Borderou de evaluare (job #2725508)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 19 martie 2021 08:47:04
Problema Linegraph Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 29

Raport evaluator

Compilare: main.cpp: In function 'void pop_cbc(int, int)': main.cpp:42:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(cbc_muchii != cbc[nr_cbc].size() * (cbc[nr_cbc].size() - 1) / 2) /// cbc tb sa fie graf complet ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:112:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(stiva.size() != nod_idx - 1) ~~~~~~~~~~~~~^~~~~~~~~~~~~~ main.cpp:118:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<muchie>::size_type {aka long unsigned int}' [-Wformat=] printf("DA\n%d\n", stiva.size() + 1); ^ main.cpp:80:38: 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:81:40: 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:84:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp:86:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:97:29: 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
114ms4194kbAnswers differ!0
294ms4587kbOK!2
313ms4456kbOK!2
4356ms13221kbOK!6
512ms4325kbOK!2
612ms4325kbOK!2
713ms4325kbOK!2
812ms4325kbOK!3
910ms4194kbWrong answer!0
1010ms4194kbAnswers differ!0
1113ms4325kbAnswers differ!0
1210ms4194kbAnswers differ!0
1310ms4194kbAnswers differ!0
1413ms4325kbAnswers differ!0
1523ms4325kbAnswers differ!0
1620ms4325kbAnswers differ!0
1713ms4325kbOK!3
1811ms4194kbAnswers differ!0
19312ms12709kbOK!7
2064ms4325kbAnswers differ!0
Punctaj total29

Ceva nu functioneaza?