Problem | sum |
---|---|
User | boaznumberd5555 |
Submission Time | 2024-12-02 10:42:06 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sum.cpp: In function ‘int main()’:
sum.cpp:10:30: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘long long unsigned int’)
10 | unsigned long long num; cin<<num;
| ~~~^~~~~
| | |
| | long long unsigned int
| std::istream {aka std::basic_istream<char>}
sum.cpp:10:30: note: candidate: ‘operator<<(int, long long unsigned int)’ <built-in>
10 | unsigned long long num; cin<<num;
| ~~~^~~~~
sum.cpp:10:30: note: no known conversion for argument 1 from ‘std::istream’ {aka ‘std::basic_istream<char>’} to ‘int’
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from sum.cpp:1:
/usr/incl