Problem | collectmushrooms6 |
---|---|
User | chisim |
Submission Time | 2023-02-15 21:28:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
collectmushrooms6.cpp: In function ‘int main()’:
collectmushrooms6.cpp:59:16: error: ‘i’ was not declared in this scope
59 | if (sprink[i].x < sprinkminx) sprinkminx = sprink[i].x;
| ^
collectmushrooms6.cpp:60:16: error: ‘i’ was not declared in this scope
60 | if (sprink[i].x > sprinkmaxx) sprinkmaxx = sprink[i].x;
| ^
collectmushrooms6.cpp:61:16: error: ‘i’ was not declared in this scope
61 | if (sprink[i].y < sprinkminy) sprinkminy = sprink[i].y;
| ^
collectmushrooms6.cpp:62:16: error: ‘i’ was not declared in this scope
62 | if (sprink[i].y > sprinkmaxy) sprinkmaxy = sprink[i].y;
| ^
collectmushrooms6.cpp:72:18: error: ‘i’ was not declared in this scope
72 | if (mushroom[i].x < mushminx) mushminx = mushroom[i].x;
| ^
collectmushrooms6.cpp:73:18: error: ‘i’ was not declared in this s