beauty.cpp: In function 'void dfs(long long int, long long int)':
beauty.cpp:48:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for (int i=0;i<g[x].size();++i){
| ~^~~~~~~~~~~~
beauty.cpp: At global scope:
beauty.cpp:57:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
57 | main(){
| ^
beauty.cpp: In function 'int main()':
beauty.cpp:11:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | #define scan1(a) scanf("%lld",&a);
| ~~~~~^~~~~~~~~~~
beauty.cpp:59:5: note: in expansion of macro 'scan1'
59 | scan1(n)
| ^~~~~
beauty.cpp:11:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | #define scan1(a) scanf("%lld",&a);
| ~~~~~^~~~~~~~~~~
beauty.cpp:62:9: note: in expansion of macro 'scan1'
62 | scan1(x)
| ^~~~~