0_0_25505581_10835.cpp: In function 'int main()':
0_0_25505581_10835.cpp:34: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_25505581_10835.cpp:17:13: note: in passing argument 1 of 'void scan_d(int&)'
inline void scan_d(int &ret){
^
0_0_25505581_10835.cpp:38: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_25505581_10835.cpp:17:13: note: in passing argument 1 of 'void scan_d(int&)'
inline void scan_d(int &ret){
^
|