Problem | gcd |
---|---|
User | 2Princes1Lance |
Submission Time | 2023-11-23 10:49:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp:6:24: error: expected ‘)’ before ‘;’ token
6 | void forward_test(int a; int b; int prime; int GCD){ while (a > prime && b > prime){
| ~ ^
| )
gcd.cpp:6:51: error: expected initializer before ‘)’ token
6 | void forward_test(int a; int b; int prime; int GCD){ while (a > prime && b > prime){
| ^
gcd.cpp:33:26: error: expected ‘)’ before ‘;’ token
33 | void backward_test (int a; int b; int prime; int GCD){ while (a > prime && b > prime){
| ~ ^
| )
gcd.cpp:33:32: error: redefinition of ‘int b’
33 | void backward_test (int a; int b; int prime; int GCD){ while (a > prime && b > prime){
| ^
gcd.cpp:6:30: note: ‘int b’ previously declared here
6 | void forward_test(int a; int b; int prime; int GC