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