| Problem | gcd |
|---|---|
| User | herngr3y |
| Submission Time | 2026-03-28 12:31:54 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gcd.cpp:2:1: error: ‘usng’ does not name a type
2 | usng namespace std;
| ^~~~
gcd.cpp: In function ‘int main()’:
gcd.cpp:6:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
6 | cin >> a >> b;
| ^~~
| std::cin
In file included 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:7:10: error: expected ‘)’ before ‘!’ token
7 | while (a ! = b);
| ~ ^~
| )
gcd.cpp:7:13: error: expected primary-expression before ‘=’ token
7 | while (a ! = b);
| ^
gcd.cpp:13:2: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
13 | cout << a << endl;
| ^~~~
| std::cout
In file included from gcd.cpp:1:
/usr/include/c++/9/iostream:61:18: note: ‘st