Problem gcd
User thatlycheeoolongdrink
Submission Time 2024-02-21 15:11:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:4:1: error: ‘cin’ does not name a type
4 | cin>>a>>b;
| ^~~
gcd.cpp:5:12: error: expression list treated as compound expression in initializer [-fpermissive]
5 | int gcd(a,b) {
| ^
gcd.cpp:5:14: error: expected ‘,’ or ‘;’ before ‘{’ token
5 | int gcd(a,b) {
| ^