| Problem | applebaskets |
|---|---|
| User | PerihelionfromAphelion |
| Submission Time | 2026-08-11 21:36:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
applebaskets.cpp: In function ‘bool f(long long unsigned int)’:
applebaskets.cpp:7:11: error: ‘n’ was not declared in this scope
7 | if (i == n) return true;
| ^
applebaskets.cpp: At global scope:
applebaskets.cpp:10:19: error: ‘i’ was not declared in this scope
10 | bool basket(int v[i]) {
| ^
applebaskets.cpp: In function ‘bool basket(...)’:
applebaskets.cpp:11:6: error: ‘v’ was not declared in this scope
11 | if (v[i] != 0) return true;
| ^
applebaskets.cpp:11:8: error: ‘i’ was not declared in this scope
11 | if (v[i] != 0) return true;
| ^
At global scope:
cc1plus: error: ‘::main’ must return ‘int’
applebaskets.cpp: In function ‘int main()’:
applebaskets.cpp:23:7: error: ‘i’ was not declared in this scope
23 | for (i = 0; i < n; i++) {
| ^
applebaskets.cpp:27:7: error: ‘i’ was not declared in this scope
27 | for (i