Borderou de evaluare (job #3234486)
Utilizator | Data | 9 iunie 2024 13:53:44 | |
---|---|---|---|
Problema | NoGameNoLife | Status | done |
Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:173: error: 'c' was not declared in this scope
8 | int op[16][2][2]= {{0,0,0,0}, {0,0,0,1}, {0,0,1,0}, {0,0,1,1}, {0,1,0,0}, {0,1,0,1}, {0,1,1,0}, {0,1,1,1}, {1,0,0,0}, {1,0,0,1}, {1,0,1,0}, {1,1,0,0}, {1,1,0,1}, {1,0,1,1},c{1,1,1,0}, {1,1,1,1}};
| ^
main.cpp:8:174: error: expected '}' before '{' token
8 | int op[16][2][2]= {{0,0,0,0}, {0,0,0,1}, {0,0,1,0}, {0,0,1,1}, {0,1,0,0}, {0,1,0,1}, {0,1,1,0}, {0,1,1,1}, {1,0,0,0}, {1,0,0,1}, {1,0,1,0}, {1,1,0,0}, {1,1,0,1}, {1,0,1,1},c{1,1,1,0}, {1,1,1,1}};
| ~ ^
main.cpp:8:183: error: expected unqualified-id before ',' token
8 | int op[16][2][2]= {{0,0,0,0}, {0,0,0,1}, {0,0,1,0}, {0,0,1,1}, {0,1,0,0}, {0,1,0,1}, {0,1,1,0}, {0,1,1,1}, {1,0,0,0}, {1,0,0,1}, {1,0,1,0}, {1,1,0,0}, {1,1,0,1}, {1,0,1,1},c{1,1,1,0}, {1,1,1,1}};
| ^
main.cpp:8:185: error: expected unqualified-id before '{' token
8 | int op[16][2][2]= {{0,0,0,0}, {0,0,0,1}, {0,0,1,0}, {0,0,1,1}, {0,1,0,0}, {0,1,0,1}, {0,1,1,0}, {0,1,1,1}, {1,0,0,0}, {1,0,0,1}, {1,0,1,0}, {1,1,0,0}, {1,1,0,1}, {1,0,1,1},c{1,1,1,0}, {1,1,1,1}};
| ^
main.cpp:8:194: error: expected declaration before '}' token
8 | int op[16][2][2]= {{0,0,0,0}, {0,0,0,1}, {0,0,1,0}, {0,0,1,1}, {0,1,0,0}, {0,1,0,1}, {0,1,1,0}, {0,1,1,1}, {1,0,0,0}, {1,0,0,1}, {1,0,1,0}, {1,1,0,0}, {1,1,0,1}, {1,0,1,1},c{1,1,1,0}, {1,1,1,1}};
| ^
main.cpp: In function 'bool aplic_op(int, int)':
main.cpp:16:26: error: 'getit' was not declared in this scope; did you mean 'getpt'?
16 | rasp[i]=op[oper][getit(rasp[i-1])][getbit(v[nrvec][i])];
| ^~~~~
| getpt
main.cpp:16:51: error: 'v' was not declared in this scope
16 | rasp[i]=op[oper][getit(rasp[i-1])][getbit(v[nrvec][i])];
| ^
main.cpp:16:44: error: 'getbit' was not declared in this scope; did you mean 'getpt'?
16 | rasp[i]=op[oper][getit(rasp[i-1])][getbit(v[nrvec][i])];
| ^~~~~~
| getpt
main.cpp:18:1: warning: no return statement in function returning non-void [-Wreturn-type]
18 | }
| ^
main.cpp: In function 'int main()':
main.cpp:26:18: error: 'v' was not declared in this scope
26 | cin>>v[i][j];
| ^
main.cpp:35:13: error: 'marcat' was not declared in this scope
35 | marcat[i]=1;
| ^~~~~~
main.cpp:43:37: error: 'v' was not declared in this scope
43 | if(rasp[k]!=v[j][k])
| ^
main.cpp:45:31: warning: statement has no effect [-Wunused-value]
45 | ok==0;
| ~~^~~
main.cpp:70:5: error: expected primary-expression before '}' token
70 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !