Main.cpp: In function 'int main()':
Main.cpp:27:32: warning: narrowing conversion of 'x' from 'long long int' to 'int' [-Wnarrowing]
27 | gr [y] . push_back ( { x , c , p , edgs . size () } );
| ^
Main.cpp:27:36: warning: narrowing conversion of 'c' from 'long long int' to 'int' [-Wnarrowing]
27 | gr [y] . push_back ( { x , c , p , edgs . size () } );
| ^
Main.cpp:27:40: warning: narrowing conversion of 'p' from 'long long int' to 'int' [-Wnarrowing]
27 | gr [y] . push_back ( { x , c , p , edgs . size () } );
| ^
Main.cpp:27:56: warning: narrowing conversion of 'edgs.std::vector<edg>::size()' from 'std::vector<edg>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
27 | gr [y] . push_back ( { x , c , p , edgs . size () } );
| ~~~~~~~~~~~~^~
Main.cpp:28:30: warning: narrowing conversion of 'x' from 'long long int' to 'int' [-Wnarrowing]
28 | edgs . push_back ( { x , y , c , p , edgs . size () } );
| ^
Main.cpp:28:34: warning: narrowing conversion of 'y' from 'long long int' to 'int' [-Wnarrowing]
28 | edgs . push_back ( { x , y , c , p , edgs . size () } );
| ^
Main.cpp:28:38: warning: narrowing conversion of 'c' from 'long long int' to 'int' [-Wnarrowing]
28 | edgs . push_back ( { x , y , c , p , edgs . size () } );
| ^
Main.cpp:28:42: warning: narrowing conversion of 'p' from 'long long int' to 'int' [-Wnarrowing]
28 | edgs . push_back ( { x , y , c , p , edgs . size () } );
| ^
Main.cpp:28:58: warning: narrowing conversion of 'edgs.std::vector<edg>::size()' from 'std::vector<edg>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
28 | edgs . push_back ( { x , y , c , p , edgs . size () } );
| ~~~~~~~~~~~~^~
Main.cpp:30:32: warning: narrowing conversion of 'y' from 'long long int' to 'int' [-Wnarrowing]
30 | gr [x] . push_back ( { y , c , p , edgs . size () } );
| ^
Main.cpp:30:36: warning: narrowing conversion of 'c' from 'long long int' to 'int' [-Wnarrowing]
30 | gr [x] . push_back ( { y , c , p , edgs . size () } );
| ^
Main.cpp:30:40: warning: narrowing conversion of 'p' from 'long long int' to 'int' [-Wnarrowing]
30 | gr [x] . push_back ( { y , c , p , edgs . size () } );
| ^
Main.cpp:30:56: warning: narrowing conversion of 'edgs.std::vector<edg>::size()' from 'std::vector<edg>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
30 | gr [x] . push_back ( { y , c , p , edgs . size () } );
| ~~~~~~~~~~~~^~
Main.cpp:31:30: warning: narrowing conversion of 'y' from 'long long int' to 'int' [-Wnarrowing]
31 | edgs . push_back ( { y , x , c , p , edgs . size () } );
| ^
Main.cpp:31:34: warning: narrowing conversion of 'x' from 'long long int' to 'int' [-Wnarrowing]
31 | edgs . push_back ( { y , x , c , p , edgs . size () } );
| ^
Main.cpp:31:38: warning: narrowing conversion of 'c' from 'long long int' to 'int' [-Wnarrowing]
31 | edgs . push_back ( { y , x , c , p , edgs . size () } );
| ^
Main.cpp:31:42: warning: narrowing conversion of 'p' from 'long long int' to 'int' [-Wnarrowing]
31 | edgs . push_back ( { y , x , c , p , edgs . size () } );
| ^
Main.cpp:31:58: warning: narrowing conversion of 'edgs.std::vector<edg>::size()' from 'std::vector<edg>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
31 | edgs . push_back ( { y , x , c , p , edgs . size () } );
| ~~~~~~~~~~~~^~
Main.cpp:16:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf ( "%lld%lld" , &n , &m );
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Main.cpp:25:15: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | scanf ( "%lld%lld%lld%lld" , &x , &y , &c , &p );
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~