0_0_29779978_7681.cpp:160:11: error: redefinition of 'const int inf'
const int inf = 0x3f3f3f3f;
^
0_0_29779978_7681.cpp:58:11: note: 'const int inf' previously defined here
const int inf = 0x3f3f3f3f;
^
0_0_29779978_7681.cpp:161:10: error: redefinition of 'const ll INF'
const ll INF = 1e18;
^
0_0_29779978_7681.cpp:59:10: note: 'const ll INF' previously defined here
const ll INF = 1e18;
^
0_0_29779978_7681.cpp:163:28: error: redefinition of 'template<class T> void read(T&)'
template <typename T> void read(T &x) {
^
0_0_29779978_7681.cpp:61:28: note: 'template<class T> void read(T&)' previously declared here
template <typename T> void read(T &x) {
^
0_0_29779978_7681.cpp:173:28: error: redefinition of 'template<class T> void write(T)'
template <typename T> void write(T x) {
^
0_0_29779978_7681.cpp:71:28: note: 'template<class T> void write(T)' previously declared here
template <typename T> void write(T x) {
^
0_0_29779978_7681.cpp:179:28: error: redefinition of 'template<class T> void writeln(T)'
template <typename T> void writeln(T x) {
^
0_0_29779978_7681.cpp:77:28: note: 'template<class T> void writeln(T)' previously declared here
template <typename T> void writeln(T x) {
^
0_0_29779978_7681.cpp:184:11: error: redefinition of 'const int maxn'
const int maxn = 1e3 + 55;
^
0_0_29779978_7681.cpp:82:11: note: 'const int maxn' previously defined here
const int maxn = 1e3 + 55;
^
0_0_29779978_7681.cpp:185:5: error: redefinition of 'int n'
int n, m;
^
0_0_29779978_7681.cpp:83:5: note: 'int n' previously declared here
int n, m;
^
0_0_29779978_7681.cpp:185:8: error: redefinition of 'int m'
int n, m;
^
0_0_29779978_7681.cpp:83:8: note: 'int m' previously declared here
int n, m;
^
0_0_29779978_7681.cpp:186:11: error: redefinition of 'int a [1055]'
int a[maxn], dp[maxn];
^
0_0_29779978_7681.cpp:84:5: note: 'int a [1055]' previously declared here
int a[maxn], dp[maxn];
^
0_0_29779978_7681.cpp:186:21: error: redefinition of 'int dp [1055]'
int a[maxn], dp[maxn];
^
0_0_29779978_7681.cpp:84:14: note: 'int dp [1055]' previously declared here
int a[maxn], dp[maxn];
^
0_0_29779978_7681.cpp: In function 'int main()':
0_0_29779978_7681.cpp:188:5: error: redefinition of 'int main()'
int main() {
^
0_0_29779978_7681.cpp:86:5: note: 'int main()' previously defined here
int main() {
^
|