Problem | gcd |
---|---|
User | Ethan1L1K1X1 |
Submission Time | 2024-04-09 11:29:57 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp: In function ‘int32_t buss(long long int, long long int)’:
gcd.cpp:8:6: error: redeclaration of ‘long long int y’
8 | int y = max(a,b);
| ^
gcd.cpp:7:6: note: ‘long long int y’ previously declared here
7 | int y,w;
| ^
gcd.cpp:9:6: error: redeclaration of ‘long long int w’
9 | int w = min(a,b);
| ^
gcd.cpp:7:8: note: ‘long long int w’ previously declared here
7 | int y,w;
| ^
gcd.cpp: In function ‘int32_t main()’:
gcd.cpp:23:15: error: too few arguments to function ‘int32_t buss(long long int, long long int)’
23 | cout << buss();
| ^
gcd.cpp:5:9: note: declared here
5 | int32_t buss (int a,int b){
| ^~~~