| Problem | buyingcandy |
|---|---|
| User | ryoshu |
| Submission Time | 2026-11-09 15:20:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
buyingcandy.cpp: In function ‘int main()’:
buyingcandy.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
buyingcandy.cpp:7:5: note: in expansion of macro ‘int’
7 | int n,m;
| ^~~
buyingcandy.cpp:7:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | int n,m;
| ^
| yn
buyingcandy.cpp:7:11: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
7 | int n,m;
| ^
| tm
buyingcandy.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
buyingcandy.cpp:9:5: note: in expansion of macro ‘int’
9 | int p[n];
| ^~~
buyingcandy.cpp:9:9: error: ‘p’ was not declared in this scope
9 | int p[n];
| ^
buyingcandy.cpp:3:18: er