Borderou de evaluare (job #2189118)

Utilizator felixiPuscasu Felix felixi Data 27 martie 2018 18:34:06
Problema Engineer Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:60:1: error: expected primary-expression before ‘int’ int a1_st[LIMI], a1_dr[LIMI], a1_cor[LIMI]; ^~~ user.cpp:62:15: error: size of array ‘a2_st’ is not an integral constant-expression int a2_st[LIMI], a2_dr[LIMI], a2_cnt[LIMI]; ^ user.cpp:62:28: error: size of array ‘a2_dr’ is not an integral constant-expression int a2_st[LIMI], a2_dr[LIMI], a2_cnt[LIMI]; ^ user.cpp:62:42: error: size of array ‘a2_cnt’ is not an integral constant-expression int a2_st[LIMI], a2_dr[LIMI], a2_cnt[LIMI]; ^ user.cpp: In function ‘void copie_1(int, int)’: user.cpp:85:5: error: ‘a1_st’ was not declared in this scope a1_st[nou] = a1_st[vechi]; ^~~~~ user.cpp:86:5: error: ‘a1_dr’ was not declared in this scope a1_dr[nou] = a1_dr[vechi]; ^~~~~ user.cpp:87:5: error: ‘a1_cor’ was not declared in this scope a1_cor[nou] = a1_cor[vechi]; ^~~~~~ user.cpp: In function ‘int add1(int, int, int)’: user.cpp:122:9: error: ‘a1_cor’ was not declared in this scope a1_cor[nod] = add2(a1_cor[nod]); ^~~~~~ user.cpp:127:5: error: ‘a1_st’ was not declared in this scope a1_st[nod] = add1(a1_st[nod], st, (st + dr) >> 1); ^~~~~ user.cpp:128:5: error: ‘a1_dr’ was not declared in this scope a1_dr[nod] = add1(a1_dr[nod], ((st + dr) >> 1) + 1, dr); ^~~~~ user.cpp: In function ‘void update1(int, int, int, int)’: user.cpp:161:5: error: ‘a1_cor’ was not declared in this scope a1_cor[nod] = nou_a2(); ^~~~~~ user.cpp:167:9: error: ‘a1_st’ was not declared in this scope if( a1_st[old] ) { ^~~~~ user.cpp:171:9: error: ‘a1_dr’ was not declared in this scope if( a1_dr[old] ) { ^~~~~ user.cpp: In function ‘int query1(int, int, int)’: user.cpp:196:23: error: ‘a1_cor’ was not declared in this scope return query2(a1_cor[nod]); ^~~~~~ user.cpp:198:20: error: ‘a1_st’ was not declared in this scope int a = query1(a1_st[nod], st, (st + dr) >> 1); ^~~~~ user.cpp:199:20: error: ‘a1_dr’ was not declared in this scope

Ceva nu functioneaza?