Borderou de evaluare (job #359911)

Utilizator avatar AndreiR Andrei Roceanu AndreiR IP ascuns
Problemă Paritate (clasa a 9-a) Compilator cpp
Rundă OJI_9_2017 Status evaluat
Dată 2 mar. 2018 21:32:46 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Read()’: user.cpp:16:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[480080]’ [-Wformat] user.cpp: In function ‘int main()’: user.cpp:47:22: error: ‘strlen’ was not declared in this scope user.cpp: In function ‘void Print()’: user.cpp:21:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘void Read()’: user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]