joi2019_ho_t2.cpp: In function 'int main()':
joi2019_ho_t2.cpp:7:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | scanf("%d%d", &N, &M);
| ~~~~~^~~~~~~~~~~~~~~~
joi2019_ho_t2.cpp:11:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d%d", &S, &V);
| ~~~~~^~~~~~~~~~~~~~~~
joi2019_ho_t2.cpp:15:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d", C + i);
| ~~~~~^~~~~~~~~~~~~