kitchen.cpp: In function 'int main()':
kitchen.cpp:22:7: warning: variable 'max' set but not used [-Wunused-but-set-variable]
22 | auto max = [](int a, int b) { return a > b ? a : b; };
| ^~~
kitchen.cpp:10:20: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | int n, m, k; scanf("%d %d %d", &n, &m, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
kitchen.cpp:12:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d", a+i);
| ~~~~~^~~~~~~~~~~
kitchen.cpp:14:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d", b+i);
| ~~~~~^~~~~~~~~~~