Problem field
User bribritt
Submission Time 2025-03-31 22:42:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

field.cpp: In function ‘int v31(int)’:
field.cpp:66:37: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::vector<int>’)
66 | int v31(int v32) {return ((v32+1)/2)[v11]-(v32&1);}
| ^
field.cpp: In function ‘int v33(int)’:
field.cpp:67:37: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::vector<int>’)
67 | int v33(int v34) {return ((v34+1)/2)[v12]-(v34&1);}
| ^
field.cpp: In function ‘void v45()’:
field.cpp:80:25: error: ‘i’ was not declared in this scope
80 | for(int v48=0;v48<4*v6;i++)
| ^
field.cpp: In function ‘void v88(int, int)’:
field.cpp:161:19: error: no match for ‘operator+’ (operand types are ‘std::vector<int>’ and ‘int’)
161 | int v95 = v89[v11+1] - v89[v11], v96 = v90[v12+1] - v90[v12];
| ~~~^~
| | |