Borderou de evaluare (job #589343)

Utilizator avatar ANDREOS Andrei Otetea ANDREOS IP ascuns
Problemă ESO Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 31 mar. 2021 19:47:18 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:23:29: error: 'stdou' was not declared in this scope; did you mean 'stdout'? 23 | freopen("eso.out", "w", stdou); | ^~~~~ | stdout main.cpp:45:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'unsigned int'} [-Wsign-compare] 45 | for(int i = 0; i < stamina.size(); ++i) | ~~^~~~~~~~~~~~~~~~ main.cpp:22:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | freopen("eso.in" , "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:29:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | scanf("%d", &t); | ~~~~~^~~~~~~~~~ main.cpp:31:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | scanf("%d%d%d ", &a, &b, &n); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:33:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | scanf("%c%d%d ",&ch, &st, &mn); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~