count_triplets.cpp: In function 'int main()':
count_triplets.cpp:48:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
48 | scanf("%d%d",&n,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
count_triplets.cpp:48:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
48 | scanf("%d%d",&n,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
count_triplets.cpp:48:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
48 | scanf("%d%d",&n,&m);
| ~~~~~^~~~~~~~~~~~~~
count_triplets.cpp:52:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
52 | scanf("%d%d",&u,&v);
| ~~~~~^~~~~~~~~~~~~~