padak.cpp:3:7: error: expected nested-name-specifier before 'lint'
using lint = long long int;
^
padak.cpp:4:7: error: expected nested-name-specifier before 'pii'
using pii = std::pair<int, int>;
^
padak.cpp:14:7: error: 'pii' was not declared in this scope
queue<pii> qu;
^
padak.cpp:14:10: error: template argument 1 is invalid
queue<pii> qu;
^
padak.cpp:14:10: error: template argument 2 is invalid
padak.cpp: In function 'int main()':
padak.cpp:28:6: error: request for member 'push' in 'qu', which is of non-class type 'int'
qu.push(pii(t1, t2));
^
padak.cpp:28:21: error: 'pii' was not declared in this scope
qu.push(pii(t1, t2));
^
padak.cpp:32:13: error: request for member 'empty' in 'qu', which is of non-class type 'int'
while (!qu.empty()) {
^
padak.cpp:33:16: error: request for member 'size' in 'qu', which is of non-class type 'int'
int cou = qu.size();
^
padak.cpp:35:15: error: request for member 'front' in 'qu', which is of non-class type 'int'
int x = qu.front().first;
^
padak.cpp:36:15: error: request for member 'front' in 'qu', which is of non-class type 'int'
int y = qu.front().second;
^
padak.cpp:37:7: error: request for member 'pop' in 'qu', which is of non-class type 'int'
qu.pop();
^
padak.cpp:43:10: error: request for member 'push' in 'qu', which is of non-class type 'int'
qu.push(pii(x + xx[i], y + yy[i]));
^
padak.cpp:43:39: error: 'pii' was not declared in this scope
qu.push(pii(x + xx[i], y + yy[i]));
^
padak.cpp:18:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d", &N, &M, &K, &B, &Z);
^
padak.cpp:26:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t1, &t2);
^