luk.cpp: In function 'int main()':
luk.cpp:5:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
luk.cpp:7:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | scanf("%d",&a);
| ~~~~~^~~~~~~~~
luk.cpp:9:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%d",&a);
| ~~~~~^~~~~~~~~