sure.cpp:17:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
17 | main(){
| ^~~~
sure.cpp: In function 'int main()':
sure.cpp:18:10: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
18 | scanf("%d",&N);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
sure.cpp:18:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | scanf("%d",&N);
| ~~~~~^~~~~~~~~
sure.cpp:21:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | scanf("%f",&f);
| ~~~~~^~~~~~~~~
sure.cpp:23:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | scanf("%f",&f);
| ~~~~~^~~~~~~~~