Problem | addition |
---|---|
User | Minxiang |
Submission Time | 2024-06-18 10:23:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:6:5: error: no match for ‘operator[]’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
6 | cin[1]>>a
| ^
addition.cpp:8:5: error: no match for ‘operator[]’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
8 | cin[3]>>b
| ^
addition.cpp:8:10: error: ‘b’ was not declared in this scope
8 | cin[3]>>b
| ^