Main.cpp: In function 'int main()':
Main.cpp:73:1: error: return-statement with no value, in function returning 'int' [-fpermissive]
73 | return;
| ^~~~~~
Main.cpp:86:1: error: return-statement with no value, in function returning 'int' [-fpermissive]
86 | return;
| ^~~~~~
Main.cpp:13:6: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d",&t);
| ~~~~~^~~~~~~~~
Main.cpp:16:6: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
Main.cpp:22:6: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%d%d",&a[i].f,&a[i].s);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~