Problem potionshard
User thatlycheeoolongdrink
Submission Time 2025-12-05 17:01:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potionshard.cpp: In function ‘int main()’:
potionshard.cpp:20:5: error: expected ‘,’ or ‘;’ before ‘for’
20 | for (int i=0;i<k;i++) {
| ^~~
potionshard.cpp:20:18: error: ‘i’ was not declared in this scope
20 | for (int i=0;i<k;i++) {
| ^