Problem | potatosalad |
---|---|
User | dl2704 |
Submission Time | 2024-01-26 14:48:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
potatosalad.cpp: In function ‘int32_t main()’:
potatosalad.cpp:9:27: error: expected ‘;’ before ‘<’ token
9 | for (int total = 0, total < n, total++){
| ^~
| ;
potatosalad.cpp:9:28: error: expected primary-expression before ‘<’ token
9 | for (int total = 0, total < n, total++){
| ^
potatosalad.cpp:9:40: error: expected ‘;’ before ‘)’ token
9 | for (int total = 0, total < n, total++){
| ^
| ;
potatosalad.cpp:11:11: error: invalid types ‘long long int[long long int]’ for array subscript
11 | no[total] += n;
| ^
potatosalad.cpp:15:19: error: expected ‘;’ before ‘<’ token
15 | for (int i = 0, i < d, i++){
| ^~
| ;
potatosalad.cpp:15:20: error: