tarifa.cpp: In function 'int main()':
tarifa.cpp:15:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d",&x);
| ~~~~~^~~~~~~~~
tarifa.cpp:16:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
tarifa.cpp:3:42: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
3 | #define forcin for(int i=0;i<n;i++) scanf("%d",&dizi[i]);
| ~~~~~^~~~~~~~~~~~~~~
tarifa.cpp:17:5: note: in expansion of macro 'forcin'
17 | forcin;
| ^~~~~~