Problem gcd
User gamer1234e
Submission Time 2026-02-25 16:48:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:5:52: error: expected unqualified-id before ‘,’ token
5 | ;int a,b,C,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,,x,y,z
| ^
gcd.cpp:9:13: error: no match for ‘operator<<’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘long long int’)
9 | ;cin>> a<<b<<c<<d<<e<<f<<g<<h<<i<<j<<k<<l<<m<<p<<q<<r<<s<<t<<u<<v<<w<<x<<y<<z
| ~~~~~~~^~~
| | |
| | long long int
| std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}
gcd.cpp:9:13: note: candidate: ‘operator<<(int, long long int)’ <built-in>
9 | ;cin>> a<<b<<c<<d<