Borderou de evaluare (job #2144173)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 26 februarie 2018 16:19:23
Problema Sclifoseala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void DP(std::vector<int>&)’: user.cpp:65:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < nodes.size(); i++) ^ user.cpp:66:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = i + 1; j < nodes.size(); j++) ^ user.cpp:73:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < nodes.size(); i++) ^ user.cpp:76:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < nodes.size(); j++) ^ user.cpp: In function ‘int DFS(int, int)’: user.cpp:112:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (son != father) ^ user.cpp: In function ‘char Advance()’: user.cpp:27:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, SIZE, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:129:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sclifoseala.in", "r", stdin); ^ user.cpp:130:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sclifoseala.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2032kbOK20
2176ms8784kbOK20
3100ms8296kbOK20
4772ms16308kbOK20
5104ms8480kbOK20
Punctaj total100

Ceva nu functioneaza?