wall.cpp: In function 'int32_t main()':
wall.cpp:17:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | freopen(CODE".inp", "r", stdin), freopen(CODE".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
wall.cpp:17:49: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | freopen(CODE".inp", "r", stdin), freopen(CODE".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ccB4prsb.o: in function `__tcf_0':
wall.cpp:(.text+0x9): relocation truncated to fit: R_X86_64_PC32 against symbol `sub1::adj' defined in .bss section in /tmp/ccB4prsb.o
/tmp/ccB4prsb.o: in function `sub1::check_condition()':
wall.cpp:(.text+0x57): relocation truncated to fit: R_X86_64_PC32 against symbol `N' defined in .bss section in /tmp/ccB4prsb.o
wall.cpp:(.text+0x63): relocation truncated to fit: R_X86_64_PC32 against symbol `M' defined in .bss section in /tmp/ccB4prsb.o
wall.cpp:(.text+0x75): relocation truncated to fit: R_X86_64_PC32 against symbol `A' defined in .bss section in /tmp/ccB4prsb.o
wall.cpp:(.text+0xdc): relocation truncated to fit: R_X86_64_PC32 against symbol `M' defined in .bss section in /tmp/ccB4prsb.o
/tmp/ccB4prsb.o: in function `sub1::add_edge(long long, long long, long long)':
wall.cpp:(.text+0xf9): relocation truncated to fit: R_X86_64_PC32 against symbol `sub1::adj' defined in .bss section in /tmp/ccB4prsb.o
/tmp/ccB4prsb.o: in function `sub1::solve()':
wall.cpp:(.text+0x1d8): relocation truncated to fit: R_X86_64_PC32 against symbol `N' defined in .bss section in /tmp/ccB4prsb.o
wall.cpp:(.text+0x21f): relocation truncated to fit: R_X86_64_PC32 against symbol `A' defined in .bss section in /tmp/ccB4prsb.o
wall.cpp:(.text+0x23b): relocation truncated to fit: R_X86_64_PC32 against symbol `M' defined in .bss section in /tmp/ccB4prsb.o
wall.cpp:(.text+0x257): relocation truncated to fit: R_X86_64_PC32 against symbol `M' defined in .bss section in /tmp/ccB4prsb.o
wall.cpp:(.text+0x2a3): additional relocation overflows omitted from the output
/usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.a(ios_init.o): in function `std::ios_base::Init::Init()':
(.text._ZNSt8ios_base4InitC2Ev+0x1c): failed to convert GOTPCREL relocation against '_ZNSt8ios_base4Init11_S_refcountE'; relink with --no-relax
(.text._ZNSt8ios_base4InitC2Ev+0x1c6): failed to convert GOTPCREL relocation against '_ZSt4cout'; relink with --no-relax
(.text._ZNSt8ios_base4InitC2Ev+0x260): failed to convert GOTPCREL relocation against '_ZSt3cin'; relink with --no-relax
(.text._ZNSt8ios_base4InitC2Ev+0x2e2): failed to convert GOTPCREL relocation against '_ZSt4cerr'; relink with --no-relax
(.text._ZNSt8ios_base4InitC2Ev+0x353): failed to convert GOTPCREL relocation against '_ZSt4clog'; relink with --no-relax
(.text._ZNSt8ios_base4InitC2Ev+0x541): failed to convert GOTPCREL relocation against '_ZSt5wcout'; relink with --no-relax
(.text._ZNSt8ios_base4InitC2Ev+0x5e5): failed to convert GOTPCREL relocation against '_ZSt4wcin'; relink with --no-relax
(.text._ZNSt8ios_base4InitC2Ev+0x670): failed to convert GOTPCREL relocation against '_ZSt5wcerr'; relink with --no-relax
(.text._ZNSt8ios_base4InitC2Ev+0x6e9): failed to convert GOTPCREL relocation against '_ZSt5wclog'; relink with --no-relax
collect2: error: ld returned 1 exit status