Borderou de evaluare (job #589346)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:47:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<double>::size_type' {aka 'unsigned int'} [-Wsign-compare] 47 | for(int i = 0; i < stamina.size(); ++i) | ~~^~~~~~~~~~~~~~~~ main.cpp:28:10: warning: variable 'temp' set but not used [-Wunused-but-set-variable] 28 | ELEM temp; | ^~~~ 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:23:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | freopen("eso.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 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); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb Incorect 0
2 1 ms 262 kb Incorect 0
3 1 ms 262 kb Incorect 0
4 1 ms 262 kb Incorect 0
5 1 ms 262 kb Incorect 0
6 7 ms 262 kb Incorect 0
7 1 ms 262 kb Incorect 0
8 1 ms 262 kb Incorect 0
9 11 ms 262 kb Incorect 0
10 1 ms 262 kb Incorect 0
Punctaj total 0