Problem iqtest
User akqxolotl
Submission Time 2023-12-18 23:16:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

iqtest.cpp: In function ‘int main()’:
iqtest.cpp:8:15: error: no match for ‘operator>’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘int’)
8 | cin>>a>p;
| ~~~~~~^~
| | |
| | int
| std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}
iqtest.cpp:8:15: note: candidate: ‘operator>(int, int)’ <built-in>
8 | cin>>a>p;
| ~~~~~~^~
iqtest.cpp:8:15: 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 iqtest.cpp:1:
/usr/include/c++/9/bits/regex.h:1081:5: note: candidate: ‘template<cla