kyoto.cpp: In function 'int main()':
kyoto.cpp:10:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
kyoto.cpp:12:17: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | REP(i, n) scanf("%lld", &a[i]);
| ~~~~~^~~~~~~~~~~~~~~
kyoto.cpp:13:17: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | REP(i, m) scanf("%lld", &b[i]);
| ~~~~~^~~~~~~~~~~~~~~