Borderou de evaluare (job #2718899)

Utilizator rares404AlShaytan - Balasescu Rares rares404 Data 9 martie 2021 12:40:11
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:41:15: error: 'gets' was not declared in this scope gets(s + 1); ^ main.cpp:97:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i < strv.size(); i++) ~~^~~~~~~~~~~~~ main.cpp:116: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:37: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:38: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?