amusementpark.cpp:8:10: warning: integer constant is too large for its type
8 | ll mod = 100000000000000000007;
| ^~~~~~~~~~~~~~~~~~~~~
amusementpark.cpp: In function 'int main()':
amusementpark.cpp:36:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll' {aka 'long long int'} [-Wformat=]
36 | printf("%d" , ans);
| ~^ ~~~
| | |
| int ll {aka long long int}
| %lld
amusementpark.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d %d" , &N , &M);
| ~~~~~^~~~~~~~~~~~~~~~~~~
amusementpark.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d %d" , &edge[i].first,&edge[i].second);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~