Problem gcd
User Tez
Submission Time 2023-12-14 11:02:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:7:8: error: ‘n1’ was not declared in this scope
7 | while(n1 != n2) {
| ^~
gcd.cpp:7:14: error: ‘n2’ was not declared in this scope
7 | while(n1 != n2) {
| ^~
gcd.cpp: At global scope:
gcd.cpp:18:1: error: expected declaration before ‘}’ token
18 | }
| ^