0_0_37886072_20386.cpp:12:22: error: expected unqualified-id before '<' token
#define TPP template <typename t1, typename t2>
^
0_0_37886072_20386.cpp:50:8: note: in expansion of macro 'TPP'
inline TPP void ad(t1& x, t2 y) { (x += y) >= mod && (x -= mod); }
^
0_0_37886072_20386.cpp:51:1: error: expected ';' before 'inline'
inline TPP void dl(t1& x, t2 y) { (x -= y) < 0 && (x += mod); }
^
0_0_37886072_20386.cpp: In function 'int insert(char*, int)':
0_0_37886072_20386.cpp:72:18: error: 'ad' was not declared in this scope
ad(ed[p], val);
^
0_0_37886072_20386.cpp: In function 'void bfs()':
0_0_37886072_20386.cpp:90:56: error: 'ad' was not declared in this scope
rep(i, 0, 5) ad(s[i], sum[y][i]);
^
0_0_37886072_20386.cpp:95:45: error: 'ad' was not declared in this scope
fail[x] = y; ad(ed[x], ed[y]);
^
0_0_37886072_20386.cpp:98:46: error: 'dl' was not declared in this scope
rep(i, 0, 5) dl(s[i], w[p][i]);
^
|