Problem | bananasmoothie |
---|---|
User | lHog |
Submission Time | 2024-04-13 08:15:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bananasmoothie.cpp: In function ‘int main()’:
bananasmoothie.cpp:10:17: error: expected ‘;’ before ‘for’
10 | if (g != 1) g--
| ^
| ;
11 | for (long long i = g; i < n; i += g) {
| ~~~
bananasmoothie.cpp:11:24: error: ‘i’ was not declared in this scope
11 | for (long long i = g; i < n; i += g) {
| ^