Problem gcd
User Shreyas123456789
Submission Time 2026-02-23 17:06:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp:3:17: error: stray ‘#’ in program
3 | using namespace #include <bits/stdc++.h>
| ^
gcd.cpp:3:18: error: ‘include’ is not a namespace-name
3 | using namespace #include <bits/stdc++.h>
| ^~~~~~~
gcd.cpp:3:25: error: expected ‘;’ before ‘<’ token
3 | using namespace #include <bits/stdc++.h>
| ^~
| ;
gcd.cpp:3:26: error: expected unqualified-id before ‘<’ token
3 | using namespace #include <bits/stdc++.h>
| ^
gcd.cpp: In function ‘int main()’:
gcd.cpp:10:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
10 | cin >> N;
| ^~~
| 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’ decla