| Problem | gcdqueries |
|---|---|
| User | Karax |
| Submission Time | 2026-11-13 13:45:42 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
gcdqueries.cpp:2:7: error: expected nested-name-specifier before ‘nameszpace’
2 | using nameszpace std;
| ^~~~~~~~~~
gcdqueries.cpp: In function ‘void init_gcd()’:
gcdqueries.cpp:16:23: error: ‘gcd’ was not declared in this scope; did you mean ‘std::gcd’?
16 | G[i][j] = gcd(i, j);
| ^~~
| std::gcd
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:84,
from gcdqueries.cpp:1:
/usr/include/c++/9/numeric:132:5: note: ‘std::gcd’ declared here
132 | gcd(_Mn __m, _Nn __n) noexcept
| ^~~
gcdqueries.cpp: At global scope:
gcdqueries.cpp:21:1: error: ‘pair’ does not name a type
21 | pair<int, int> find_1step_splitter(const vector<int>& S, int C) {
| ^~~~
gcdqueries.cpp: In function ‘long long int answer(long long int)’:
gcdqueries.cpp:48:5: error: ‘vector’ was not declared in this sco