Problem gcd
User 2Princes1Lance
Submission Time 2023-11-23 10:41:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:6:19: error: variable or field ‘forward_test’ declared void
6 | void forward_test(a, b, prime, GCD) while (a > prime && b > prime){
| ^
gcd.cpp:6:19: error: ‘a’ was not declared in this scope
gcd.cpp:6:22: error: ‘b’ was not declared in this scope
6 | void forward_test(a, b, prime, GCD) while (a > prime && b > prime){
| ^
gcd.cpp:6:25: error: ‘prime’ was not declared in this scope
6 | void forward_test(a, b, prime, GCD) while (a > prime && b > prime){
| ^~~~~
gcd.cpp:6:32: error: ‘GCD’ was not declared in this scope
6 | void forward_test(a, b, prime, GCD) while (a > prime && b > prime){
| ^~~
gcd.cpp:31:2: error: ‘cout’ does not name a type
31 | cout << GCD;
| ^~~~
gcd.cpp:32:21: error: variable or field ‘backward_test’ declared void
32 | void backward_