Problem cny
User Elnathan
Submission Time 2023-02-02 11:23:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cny.cpp: In function ‘int main()’:
cny.cpp:20:7: error: ‘i’ was not declared in this scope
20 | for (i = 0; i < days; i++) {
| ^
cny.cpp:21:11: error: expected primary-expression before ‘=’ token
21 | if (i >== j) {
| ^