0_0_36450795_18842.cpp: In function 'int main()':
0_0_36450795_18842.cpp:105:16: error: call of overloaded 'read()' is ambiguous
int T = read();
^
0_0_36450795_18842.cpp:105:16: note: candidates are:
0_0_36450795_18842.cpp:59:5: note: int read()
int read() {
^
0_0_36450795_18842.cpp:33:7: note: int IO::read()
int read() {
^
0_0_36450795_18842.cpp:107:18: error: call of overloaded 'read()' is ambiguous
int n = read(), x = read(), y = read();
^
0_0_36450795_18842.cpp:107:18: note: candidates are:
0_0_36450795_18842.cpp:59:5: note: int read()
int read() {
^
0_0_36450795_18842.cpp:33:7: note: int IO::read()
int read() {
^
0_0_36450795_18842.cpp:109:9: error: 'x' was not declared in this scope
if (x > y) x = n - x + 1, y = n - y + 1;
^
0_0_36450795_18842.cpp:109:13: error: 'y' was not declared in this scope
if (x > y) x = n - x + 1, y = n - y + 1;
^
0_0_36450795_18842.cpp:110:9: error: 'x' was not declared in this scope
if (x == y) { print(0, '\n'); continue; }
^
0_0_36450795_18842.cpp:110:14: error: 'y' was not declared in this scope
if (x == y) { print(0, '\n'); continue; }
^
0_0_36450795_18842.cpp:110:32: error: call of overloaded 'print(int, char)' is ambiguous
if (x == y) { print(0, '\n'); continue; }
^
0_0_36450795_18842.cpp:110:32: note: candidates are:
0_0_36450795_18842.cpp:70:27: note: void print(T, char) [with T = int]
template<typename T> void print(T x, char let) {
^
0_0_36450795_18842.cpp:47:27: note: void IO::print(T, char) [with T = int]
template <class T> void print(T x, char charset) {
^
0_0_36450795_18842.cpp:112:9: error: 'y' was not declared in this scope
if (y == n) {
^
0_0_36450795_18842.cpp:114:21: error: 'x' was not declared in this scope
print(sum[n - x], '\n');
^
0_0_36450795_18842.cpp:131:26: error: 'x' was not declared in this scope
print((a + sum[n - x] + mod - sum[n - y + 1]) % mod, '\n');
^
|