Problem mining
User vs358
Submission Time 2024-11-18 22:01:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mining.cpp: In function ‘int main()’:
mining.cpp:72:31: error: expected ‘;’ before ‘for’
72 | memset(dat, -1, sizeof(dat))
| ^
| ;
73 | for(int i = 0; i < r; i++){
| ~~~
mining.cpp:73:18: error: ‘i’ was not declared in this scope
73 | for(int i = 0; i < r; i++){
| ^