Borderou de evaluare (job #298449)

Utilizator avatar Moldovan Moldovan andrei Moldovan IP ascuns
Problemă Char (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 5 apr. 2017 18:51:56 Scor 20

Raport evaluator

Compilare: user.cpp: In function 'int main()': user.cpp:50:37: warning: right operand of comma operator has no effect [-Wunused-value] user.cpp:12:15: warning: unused variable 'poz' [-Wunused-variable] user.cpp:8:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:9:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:29: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:15:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:45:23: warning: 'poz1' may be used uninitialized in this function [-Wuninitialized] /tmp/ccAuaOAn.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 260 kb OK 10
2 0 ms 252 kb OK 10
3 0 ms 260 kb Incorect 0
4 0 ms 260 kb Incorect 0
5 0 ms 256 kb Incorect 0
6 0 ms 256 kb Incorect 0
7 0 ms 268 kb Incorect 0
8 0 ms 268 kb Incorect 0
9 0 ms 264 kb Incorect 0
10 0 ms 268 kb Incorect 0
Punctaj total 20