| Problem | buyingcandy |
|---|---|
| User | Lypho |
| Submission Time | 2026-04-21 12:39:15 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
buyingcandy.cpp: In function ‘void solve()’:
buyingcandy.cpp:5:13: error: expected unqualified-id before ‘long’
5 | #define int long long
| ^~~~
buyingcandy.cpp:20:7: note: in expansion of macro ‘int’
20 | std::int n,m;cin>>n>>m;
| ^~~
buyingcandy.cpp:20:20: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
20 | std::int n,m;cin>>n>>m;
| ^
| yn
buyingcandy.cpp:20:23: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
20 | std::int n,m;cin>>n>>m;
| ^
| tm
buyingcandy.cpp:5:13: error: expected unqualified-id before ‘long’
5 | #define int long long
| ^~~~
buyingcandy.cpp:22:10: note: in expansion of macro ‘int’
22 | std::int t = 0;
| ^~~
buyingcandy.cpp:5:13: error: expected u