Borderou de evaluare (job #406265)

Utilizator avatar alexandru2005 Taut Radu alexandru2005 IP ascuns
Problemă Char (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 nov. 2018 13:05:56 Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:23: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘int*’ [-Wformat] user.cpp:31:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat] user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 268 kb OK 10
2 0 ms 272 kb OK 10
3 0 ms 276 kb Incorect 0
4 0 ms 272 kb Incorect 0
5 0 ms 272 kb Incorect 0
6 0 ms 272 kb OK 10
7 0 ms 288 kb Incorect 0
8 4 ms 348 kb Incorect 0
9 4 ms 356 kb Incorect 0
10 4 ms 356 kb Incorect 0
Punctaj total 30