Problem 3nplus1II
User P55D2K
Submission Time 2023-04-14 19:19:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:19:62: error: expected ‘;’ before ‘cout’
19 | for (int i = 6; i < sizeof(lengths); i++) lengths[i] = -1
| ^
| ;
20 |
21 | cout << lengths[time - 1];
| ~~~~