Problem | gcd |
---|---|
User | 7Janish7 |
Submission Time | 2025-02-19 16:30:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp: In function ‘long long int hello(long long int, long long int)’:
gcd.cpp:7:15: error: expected ‘;’ before ‘if’
7 | cin >> a >> b
| ^
| ;
8 | if(b == 0){
| ~~
gcd.cpp:10:3: error: ‘else’ without a previous ‘if’
10 | }else{
| ^~~~
gcd.cpp:11:25: error: expected ‘;’ before ‘}’ token
11 | return hello(b, a % b)
| ^
| ;
12 | }
| ~