Borderou de evaluare (job #520261)

Utilizator avatar andrei20003 Ionescu Andrei andrei20003 IP ascuns
Problemă Dvorak (clasa a 10-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 21 ian. 2020 11:26:38 Scor 60

Raport evaluator

Compilare: user.cpp: In function 'int main()': user.cpp:13:21: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[501]' [-Wformat] user.cpp:14:21: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[502]' [-Wformat] user.cpp:25:31: warning: array subscript has type 'char' [-Wchar-subscripts] user.cpp:33:23: warning: format '%c' expects a matching 'char*' argument [-Wformat] user.cpp:34:29: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[501]' [-Wformat] user.cpp:9:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] user.cpp:10:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:11:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:12:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:14:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:20:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:23:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:33:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:34:30: 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 416 kb OK 10
2 0 ms 412 kb OK 10
3 0 ms 416 kb OK 10
4 0 ms 416 kb OK 10
5 0 ms 412 kb OK 10
6 0 ms 416 kb OK 10
7 4 ms 416 kb Incorect 0
8 0 ms 420 kb Incorect 0
9 4 ms 420 kb Incorect 0
10 0 ms 416 kb Incorect 0
Punctaj total 60