| Problem | collectmushrooms7 |
|---|---|
| User | AndyChen |
| Submission Time | 2026-11-14 11:55:51 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
collectmushrooms7.cpp: In function ‘int main()’:
collectmushrooms7.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
collectmushrooms7.cpp:42:34: note: in expansion of macro ‘int’
42 | for (int i = 1; i < n+1; int++){
| ^~~
collectmushrooms7.cpp:42:33: error: expected ‘)’ before ‘long’
42 | for (int i = 1; i < n+1; int++){
| ~ ^
| )
collectmushrooms7.cpp:42:37: error: expected unqualified-id before ‘++’ token
42 | for (int i = 1; i < n+1; int++){
| ^~