Problem sixandseven
User yq
Submission Time 2026-06-26 15:22:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:8:10: error: invalid types ‘int[int]’ for array subscript
8 | if (n[i]=a, n[i+1]=b){
| ^
sixandseven.cpp:8:20: error: invalid types ‘int[int]’ for array subscript
8 | if (n[i]=a, n[i+1]=b){
| ^
sixandseven.cpp:12:15: error: expected ‘}’ at end of input
12 | cout<<"NO"; }
| ^
sixandseven.cpp:3:15: note: to match this ‘{’
3 | signed main() {
| ^