kitchen.cpp: In function 'int main()':
kitchen.cpp:11:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d%d%d", &n, &m, &k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
kitchen.cpp:13:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d", &a[i]), sum += a[i];
| ~~~~~^~~~~~~~~~~~~
kitchen.cpp:22:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%d", &b[i]);
| ~~~~~^~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libc.a(assert.o): in function `__assert_fail_base':
(.text+0x10d): relocation truncated to fit: R_X86_64_PC32 against symbol `__abort_msg' defined in .bss section in /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libc.a(abort.o)
/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/libc.a(loadmsgcat.o): in function `_nl_load_domain':
(.text+0x3c): relocation truncated to fit: R_X86_64_PC32 against `.bss'
(.text+0x4b): relocation truncated to fit: R_X86_64_PC32 against `.bss'
(.text+0x58): relocation truncated to fit: R_X86_64_PC32 against `.bss'
(.text+0x5e): relocation truncated to fit: R_X86_64_PC32 against `.bss'
(.text+0x6b): relocation truncated to fit: R_X86_64_PC32 against `.bss'
(.text+0x39b): relocation truncated to fit: R_X86_64_PC32 against `.bss'
(.text+0x3ab): relocation truncated to fit: R_X86_64_PC32 against `.bss'
(.text+0x3b6): relocation truncated to fit: R_X86_64_PC32 against `.bss'
(.text+0x3c0): relocation truncated to fit: R_X86_64_PC32 against `.bss'
(.text+0x3fb): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status