Problem gcd
User hyishigh
Submission Time 2026-07-11 14:25:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:3:9: error: ‘ll’ does not name a type
3 | typedef ll long long;
| ^~
gcd.cpp: In function ‘int main()’:
gcd.cpp:5:2: error: ‘ll’ was not declared in this scope
5 | ll a,b,c;
| ^~
gcd.cpp:6:9: error: ‘a’ was not declared in this scope
6 | cin >> a;
| ^
gcd.cpp:7:9: error: ‘b’ was not declared in this scope
7 | cin >> b;
| ^
gcd.cpp:9:3: error: ‘c’ was not declared in this scope
9 | c = gcd(a,b);
| ^
gcd.cpp:12:3: error: ‘c’ was not declared in this scope
12 | c = gcd(b,a);
| ^
gcd.cpp:14:10: error: ‘c’ was not declared in this scope
14 | cout << c;
| ^