Problem addition
User Hengweezy
Submission Time 2024-01-30 11:53:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:4:21: error: cannot convert ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘long long int’ in initialization
4 | long long a = std::cin;
| ~~~~~^~~
| |
| std::istream {aka std::basic_istream<char>}
addition.cpp:5:21: error: cannot convert ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘long long int’ in initialization
5 | long long b = std::cin;
| ~~~~~^~~
| |
| std::istream {aka std::basic_istream<char>}