bridge.cpp: In function 'int main()':
bridge.cpp:2:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,n)for(int i=0;i<(n);i++)
^
bridge.cpp:61:2: note: in expansion of macro 'rep'
rep(i,xs.size())rep(j,xs.size()){
^~~
bridge.cpp:2:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,n)for(int i=0;i<(n);i++)
^
bridge.cpp:61:18: note: in expansion of macro 'rep'
rep(i,xs.size())rep(j,xs.size()){
^~~
bridge.cpp:2:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define rep(i,n)for(int i=0;i<(n);i++)
^
bridge.cpp:63:3: note: in expansion of macro 'rep'
rep(k,v.size()){
^~~
bridge.cpp:31:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%d%s%d",p[i],&s[i],q[i],&t[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bridge.cpp:50:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%d%s%d",p[i],&s[i],q[i],&t[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~