Problem gift
User cjcube
Submission Time 2023-11-10 14:56:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gift.cpp: In function ‘int main()’:
gift.cpp:8:19: error: expected ‘;’ before ‘<’ token
8 | for (int i = 0, i < n, i++) {
| ^~
| ;
gift.cpp:8:20: error: expected primary-expression before ‘<’ token
8 | for (int i = 0, i < n, i++) {
| ^
gift.cpp:8:28: error: expected ‘;’ before ‘)’ token
8 | for (int i = 0, i < n, i++) {
| ^
| ;
gift.cpp:11:19: error: expected ‘;’ before ‘<’ token
11 | for (int i = 0, i < n-1, i++) {
| ^~
| ;
gift.cpp:11:20: error: expected primary-expression before ‘<’ token
11 | for (int i = 0, i < n-1, i++) {
| ^
gift.cpp:11:30: error: expected ‘;’ before ‘)’ token
11 | for (int i = 0, i < n-1, i++) {
| ^