Problem | snail |
---|---|
User | Vinayak01 |
Submission Time | 2024-02-14 19:38:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
snail.cpp: In function ‘int main()’:
snail.cpp:17:8: error: ‘i’ was not declared in this scope
17 | while(i){
| ^
snail.cpp:19:15: error: ‘n’ was not declared in this scope
19 | sum += P[i%n];
| ^