clo.cpp: In function 'void solve()':
clo.cpp:39:15: warning: too many arguments for format [-Wformat-extra-args]
39 | scanf("%lld",&c[i],&f[i].F,&f[i].S);
| ^~~~~~
clo.cpp:43:15: warning: too many arguments for format [-Wformat-extra-args]
43 | scanf("%lld",&C[i],&F[i].F,&F[i].S);
| ^~~~~~
clo.cpp: At global scope:
clo.cpp:50:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
50 | main()
| ^~~~
clo.cpp: In function 'void solve()':
clo.cpp:39:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | scanf("%lld",&c[i],&f[i].F,&f[i].S);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clo.cpp:43:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | scanf("%lld",&C[i],&F[i].F,&F[i].S);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~