0_0_22066856_18061.cpp: In function 'int main()':
0_0_22066856_18061.cpp:32:21: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'const char*'
scan_d("%d",&a[i]);
^
0_0_22066856_18061.cpp:14:13: note: in passing argument 1 of 'void scan_d(int&)'
inline void scan_d(int &ret){
^
0_0_22066856_18061.cpp:37:21: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'const char*'
scan_d("%d",&b[i]);
^
0_0_22066856_18061.cpp:14:13: note: in passing argument 1 of 'void scan_d(int&)'
inline void scan_d(int &ret){
^
|