Main.cpp: In function 'int main()':
Main.cpp:15:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | sf("%d%d",&c,&p);
| ^
Main.cpp:18:27: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | int q,s;sf("%d%d",&q,&s);
| ^
Main.cpp:29:27: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | int q,d;sf("%d%d",&q,&d);
| ^