Problem sixandseven
User Shawntan
Submission Time 2026-06-26 14:25:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:8:110: error: expected ‘]’ before ‘)’ token
8 | if (N[0] + 1 == N[1] or N[1] + 1 == N[2] or N[2] + 1 == N[3] or N[3] + 1 == N[4] or N[4] + 1 == N[5] or N[5) + 1 == N[6}{
| ^
| ]
sixandseven.cpp:8:122: error: expected ‘]’ before ‘}’ token
8 | if (N[0] + 1 == N[1] or N[1] + 1 == N[2] or N[2] + 1 == N[3] or N[3] + 1 == N[4] or N[4] + 1 == N[5] or N[5) + 1 == N[6}{
| ^
| ]
sixandseven.cpp:8:122: error: expected ‘;’ bef