Problem | psle |
---|---|
User | Dana |
Submission Time | 2023-11-08 11:21:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:6:11: error: no match for ‘operator<=’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘int’)
6 | cin >> s <= 100;
| ~~~~~~~~ ^~ ~~~
| | |
| | int
| std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}
psle.cpp:6:11: note: candidate: ‘operator<=(int, int)’ <built-in>
6 | cin >> s <= 100;
| ~~~~~~~~~^~~~~~
psle.cpp:6:11: note: no known conversion for argument 1 from ‘std::basic_istream<char>::__istream_type’ {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 psle.cpp:1:
/usr/include/c++/9/bits/regex.h:1059:5: note: candidate: ‘template<class _BiIter> boo