| Problem | offerings |
|---|---|
| User | shenshiqi |
| Submission Time | 2025-12-15 11:58:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
offerings.cpp: In function ‘int main()’:
offerings.cpp:4:2: error: ‘ll’ was not declared in this scope
4 | ll n, k;
| ^~
offerings.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | cin >> n >> k;
| ^
| yn
offerings.cpp:5:14: error: ‘k’ was not declared in this scope
5 | cin >> n >> k;
| ^
offerings.cpp:7:4: error: expected ‘;’ before ‘a’
7 | ll a[n];
| ^~
| ;
offerings.cpp:9:9: error: expected ‘;’ before ‘i’
9 | for (ll i = 0; i < n; ++i){
| ^~
| ;
offerings.cpp:9:17: error: ‘i’ was not declared in this scope
9 | for (ll i = 0; i < n; ++i){
| ^
offerings.cpp:10:10: error: ‘a’ was not declared in this scope
10 | cin >> a[i];
| ^