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