Borderou de evaluare (job #2221988)

Utilizator tiberiu392Tiberiu Ungurianu tiberiu392 Data 16 iulie 2018 11:57:10
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void update(int, int, int)’: user.cpp:10:9: error: ‘gx’ was not declared in this scope if( gx <= st && gy <= dr ) ^~ user.cpp:10:21: error: ‘gy’ was not declared in this scope if( gx <= st && gy <= dr ) ^~ user.cpp:12:9: error: ‘a’ was not declared in this scope a[] ^ user.cpp:12:11: error: expected primary-expression before ‘]’ token a[] ^ user.cpp: In function ‘int main()’: user.cpp:19:11: error: ‘n’ was not declared in this scope f >> n >> m; ^ user.cpp:19:16: error: ‘m’ was not declared in this scope f >> n >> m; ^ user.cpp:21:14: error: ‘a’ was not declared in this scope f >> a[i]; ^ user.cpp:24:10: error: ‘gx’ was not declared in this scope gx = gy = i; ^~ user.cpp:24:15: error: ‘gy’ was not declared in this scope gx = gy = i; ^~ user.cpp:25:10: error: ‘val’ was not declared in this scope val=a[i]; ^~~ user.cpp:25:14: error: ‘a’ was not declared in this scope val=a[i]; ^

Ceva nu functioneaza?