Problem gcd
User joshua2152
Submission Time 2023-07-26 08:04:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:1:1: error: ‘include’ does not name a type
1 | include <iostream>
| ^~~~~~~
gcd.cpp: In function ‘int main()’:
gcd.cpp:5:28: error: ‘cin’ was not declared in this scope
5 | long long a; long long b; cin >> a >> b;
| ^~~
gcd.cpp:7:8: error: expected ‘;’ before ‘b’
7 | a = b
| ^
| ;
8 | b = a % b
| ~
gcd.cpp:10:2: error: ‘cout’ was not declared in this scope
10 | cout << a;
| ^~~~