Problem snail
User Lyn
Submission Time 2026-01-27 18:30:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snail.cpp: In function ‘int main()’:
snail.cpp:35:16: error: ‘i’ was not declared in this scope
35 | h=min(g, h-p[i]);
| ^