Village.cpp: In function 'void S()':
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:19:2: note: in expansion of macro 'fp'
19 | fp(i,0,n){
| ^~
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:20:3: note: in expansion of macro 'fp'
20 | fp(j,0,n)
| ^~
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:24:2: note: in expansion of macro 'fp'
24 | fp(i,1,n){
| ^~
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:31:2: note: in expansion of macro 'fp'
31 | fp(k,0,n){
| ^~
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:32:3: note: in expansion of macro 'fp'
32 | fp(i,0,n){
| ^~
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'j' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:33:4: note: in expansion of macro 'fp'
33 | fp(j,0,n){
| ^~
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:39:2: note: in expansion of macro 'fp'
39 | fp(i,0,n)
| ^~
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:45:3: note: in expansion of macro 'fp'
45 | fp(i,0,n){
| ^~
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:64:2: note: in expansion of macro 'fp'
64 | fp(i,0,n)
| ^~
Village.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
Village.cpp:67:2: note: in expansion of macro 'fp'
67 | fp(i,0,n)
| ^~
Village.cpp:14:9: warning: unused variable 'ans' [-Wunused-variable]
14 | int n, ans = 0;
| ^~~