Problem gcd
User Wheezycantcode
Submission Time 2024-02-14 16:30:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:4:9: error: ‘b’ was not declared in this scope
4 | int nig(b!=0){
| ^
gcd.cpp:7:1: error: expected unqualified-id before ‘else’
7 | else{
| ^~~~
gcd.cpp: In function ‘int main()’:
gcd.cpp:14:17: error: ‘nig’ cannot be used as a function
14 | cout << nig(a,b);
| ^