| Problem | naan |
|---|---|
| User | tanyap2906 |
| Submission Time | 2025-12-05 16:07:38 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
naan.cpp:2:17: error: expected identifier before ‘<’ token
2 | using namespace <std>;
| ^
naan.cpp:2:16: error: expected ‘;’ before ‘<’ token
2 | using namespace <std>;
| ^~
| ;
naan.cpp:2:17: error: expected unqualified-id before ‘<’ token
2 | using namespace <std>;
| ^
naan.cpp: In function ‘void simplify(Fraction&)’:
naan.cpp:11:19: error: ‘gcd’ was not declared in this scope; did you mean ‘std::gcd’?
11 | long long g = gcd(f.A, f.B);
| ^~~
| std::gcd
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:84,
from naan.cpp:1:
/usr/include/c++/9/numeric:132:5: note: ‘std::gcd’ declared here
132 | gcd(_Mn __m, _Nn __n) noexcept
| ^~~
naan.cpp: In function ‘int main()’:
naan.cpp:17:5: error: ‘ios’