Borderou de evaluare (job #5028)

Utilizator avatar SanduAndreiT Sandu Andrei-Titus SanduAndreiT IP ascuns
Problemă Baloane (clasele 11-12) Compilator cpp
Rundă Olimpiada pe Scoala 2012, Clasele 11-12 Status evaluat
Dată 21 dec. 2012 13:39:40 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int sort()’: user.cpp:23:4: error: expected ‘while’ before ‘schimb’ user.cpp:23:4: error: expected ‘(’ before ‘schimb’ user.cpp:23:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] user.cpp:23:12: error: expected ‘)’ before ‘;’ token user.cpp:25:1: warning: no return statement in function returning non-void [-Wreturn-type] user.cpp: In function ‘int rez()’: user.cpp:39:6: error: ‘x’ was not declared in this scope user.cpp:45:14: error: ‘x’ was not declared in this scope user.cpp:49:1: warning: no return statement in function returning non-void [-Wreturn-type] user.cpp: In function ‘int main()’: user.cpp:56:13: error: invalid types ‘int[int]’ for array subscript user.cpp:58:5: error: ‘q’ was not declared in this scope user.cpp:58:8: error: ‘xi’ was not declared in this scope user.cpp:62:13: error: invalid types ‘int[int]’ for array subscript user.cpp:63:9: error: ‘x’ was not declared in this scope user.cpp:66:6: error: overloaded function with no contextual type information user.cpp:70:16: error: invalid types ‘int[int]’ for array subscript user.cpp: At global scope: user.cpp:74:8: error: expected constructor, destructor, or type conversion before ‘;’ token user.cpp:75:7: error: expected constructor, destructor, or type conversion before ‘;’ token