Borderou de evaluare (job #303918)

Utilizator avatar croi01 Henry Steven croi01 IP ascuns
Problemă Alune (clasa a 8-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 22 apr. 2017 19:43:44 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:10:30: error: declaration of ‘arr’ as multidimensional array must have bounds for all dimensions except the first user.cpp: In function ‘int rotation(...)’: user.cpp:12:13: error: ‘a’ was not declared in this scope user.cpp:17:13: error: ‘rez’ was not declared in this scope user.cpp:17:25: error: ‘arr’ was not declared in this scope user.cpp:20:12: error: ‘rez’ was not declared in this scope user.cpp: In function ‘int main()’: user.cpp:35:31: error: incompatible types in assignment of ‘int’ to ‘int [(((unsigned int)(((int)n) + -0x00000000000000001)) + 1)][(((unsigned int)(((int)n) + -0x00000000000000001)) + 1)]’ user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:32:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘int rotation(...)’: user.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type]