Problem | sum |
---|---|
User | Batigol |
Submission Time | 2024-12-02 11:05:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sum.cpp: In function ‘int main()’:
sum.cpp:23:14: error: cannot bind non-const lvalue reference of type ‘long long unsigned int&’ to an rvalue of type ‘long long unsigned int’
23 | read(x);
| ^
sum.cpp:6:31: note: initializing argument 1 of ‘void read(long long unsigned int&)’
6 | inline void read(unsigned ll &x){
| ~~~~~~~~~~~~~^
sum.cpp:24:14: error: cannot bind non-const lvalue reference of type ‘long long unsigned int&’ to an rvalue of type ‘long long unsigned int’
24 | read(y);
| ^
sum.cpp:6:31: note: initializing argument 1 of ‘void read(long long unsigned int&)’
6 | inline void read(unsigned ll &x){
| ~~~~~~~~~~~~~^