Borderou de evaluare (job #2200915)

Utilizator MihaelaCismaruMihaela Cismaru MihaelaCismaru Data 2 mai 2018 21:33:14
Problema Unique Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:134:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < op[i].size(); j ++) { ~~^~~~~~~~~~~~~~ user.cpp:137:47: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘dr’ maxim = max (maxim, op[k].dr - op[k].st + 1); ^~ user.cpp:137:58: error: ‘class std::vector<std::pair<int, int> >’ has no member named ‘st’; did you mean ‘at’? maxim = max (maxim, op[k].dr - op[k].st + 1); ^~ user.cpp: In member function ‘char InParser::read_ch()’: user.cpp:14:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, 4096, fin); ^

Ceva nu functioneaza?