Problem gcd
User vadar2525
Submission Time 2025-02-19 16:24:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:6:17: error: expression list treated as compound expression in initializer [-fpermissive]
6 | int jyothir (a,b);
| ^
gcd.cpp:7:3: error: ‘cin’ does not name a type; did you mean ‘sin’?
7 | cin a >> b;
| ^~~
| sin
gcd.cpp: In function ‘int main()’:
gcd.cpp:13:27: error: ‘jyothir’ cannot be used as a function
13 | return jyothir( b, a % b);}
| ^