Borderou de evaluare (job #2718898)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 9 martie 2021 12:38:40
Problema Mesaje Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:40:15: error: 'gets' was not declared in this scope gets(s + 1); ^ main.cpp:96:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < strv.size(); i++) ~~^~~~~~~~~~~~~ main.cpp:115:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", wrds.size()); ^ main.cpp:36:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mesaje.in", "r", stdin); ^ main.cpp:37:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mesaje.out", "w", stdout); ^ Non zero exit status: 1

Ceva nu functioneaza?