/in/foo.cc:3:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
#define MAXN 1<<(10)+1
~~~~^~
/in/foo.cc:6:20: note: in expansion of macro 'MAXN'
int a[150][15],dep[MAXN],visit[MAXN];
^~~~
/in/foo.cc:3:21: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
#define MAXN 1<<(10)+1
~~~~^~
/in/foo.cc:6:32: note: in expansion of macro 'MAXN'
int a[150][15],dep[MAXN],visit[MAXN];
^~~~
/in/foo.cc: In function 'void spfa(int)':
/in/foo.cc:11:5: error: 'queue' was not declared in this scope
queue<int>Q;
^~~~~
/in/foo.cc:11:11: error: expected primary-expression before 'int'
queue<int>Q;
^~~
/in/foo.cc:12:5: error: 'Q' was not declared in this scope
Q.push(src);
^