0_0_25505348_4183.cpp: In function 'int main()':
0_0_25505348_4183.cpp:26: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_25505348_4183.cpp:9:13: note: in passing argument 1 of 'void scan_d(int&)'
inline void scan_d(int &ret){
^
0_0_25505348_4183.cpp:30: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_25505348_4183.cpp:9:13: note: in passing argument 1 of 'void scan_d(int&)'
inline void scan_d(int &ret){
^
|