sure.cpp:1:32: warning: '-std=c++11' is not an option that controls warnings [-Wpragmas]
1 | #pragma GCC diagnostic warning "-std=c++11"
| ^~~~~~~~~~~~
sure.cpp: In function 'void test_case()':
sure.cpp:15:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
15 | scanf("%d",&n);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
sure.cpp: At global scope:
sure.cpp:49:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
49 | main () {
| ^~~~
sure.cpp: In function 'void test_case()':
sure.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
sure.cpp:17:39: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | for (int i=1; i<=n; i++) scanf("%lf%lf",&a[i],&b[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~