Problem gcd
User 90Dream09
Submission Time 2026-02-05 21:44:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:3:1: error: ‘include’ does not name a type
3 | include <numeric>
| ^~~~~~~
gcd.cpp: In function ‘int main()’:
gcd.cpp:7:2: error: ‘ios_base’ has not been declared
7 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
gcd.cpp:8:23: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
8 | int a, b,n,cc,oe,nn; cin >> a >> b;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from gcd.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
gcd.cpp:17:9: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
17 | cout << b;
| ^~~~
| std::cout
In file included from /usr/include/x86_64-linux-gnu/