Borderou de evaluare (job #2531104)

Utilizator stefan_creastaStefan Creasta stefan_creasta Data 25 ianuarie 2020 17:59:50
Problema Arbsat2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:37:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<ABC>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", sol.size()); ^ main.cpp:39:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < sol.size(); i++) { ~~^~~~~~~~~~~~ main.cpp:29:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arbsat2.in", "r", stdin); ^ main.cpp:30:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("arbsat2.out", "w", stdout); ^ main.cpp:31:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:33:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &v[i].x, &v[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns gresit!0
25ms262kbRaspuns gresit!0
38ms393kbRaspuns gresit!0
445ms1433kbRaspuns gresit!0
5139ms4571kbRaspuns gresit!0
6312ms9678kbRaspuns gresit!0
7534ms18194kbRaspuns gresit!0
8526ms18325kbRaspuns gresit!0
9553ms18325kbRaspuns gresit!0
10546ms18325kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?