transfer.cpp:3: warning: "LONG_LONG_MAX" redefined
3 | #define LONG_LONG_MAX 1e18
|
In file included from /usr/include/c++/9/climits:42,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:39,
from transfer.cpp:1:
/usr/lib/gcc/x86_64-linux-gnu/9/include/limits.h:154: note: this is the location of the previous definition
154 | # define LONG_LONG_MAX __LONG_LONG_MAX__
|
transfer.cpp:7:4: error: structured binding declaration cannot have type 'long long int'
7 | int[] get_attachment(int[] src){
| ^~
transfer.cpp:7:4: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
transfer.cpp:7:4: error: empty structured binding declaration
transfer.cpp:7:8: error: expected initializer before 'get_attachment'
7 | int[] get_attachment(int[] src){
| ^~~~~~~~~~~~~~
transfer.cpp:12:4: error: structured binding declaration cannot have type 'long long int'
12 | int[] retrieve(int[] data){
| ^~
transfer.cpp:12:4: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
transfer.cpp:12:4: error: empty structured binding declaration
transfer.cpp:12:8: error: expected initializer before 'retrieve'
12 | int[] retrieve(int[] data){
| ^~~~~~~~