Problem thedarknight
User om2024
Submission Time 2024-09-19 15:54:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

thedarknight.cpp: In function ‘int main()’:
thedarknight.cpp:37:21: error: ‘i’ was not declared in this scope
37 | for (int y = lcm; i==n; i+lcm){
| ^
thedarknight.cpp:40:3: error: ‘answer’ was not declared in this scope
40 | answer = multiplication2 * (lcm / gcd(a,b));
| ^~~~~~