Problem gcd
User Debdan01
Submission Time 2025-08-21 16:48:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:6:10: error: redeclaration of ‘long long int a’
6 | int a,b,a;
| ^
gcd.cpp:6:6: note: ‘long long int a’ previously declared here
6 | int a,b,a;
| ^
gcd.cpp:7:11: error: expected ‘;’ before ‘while’
7 | cin>>a>>b
| ^
| ;
8 | while (b){
| ~~~~~