Problem pizzeria
User chenweilian
Submission Time 2023-04-23 15:39:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pizzeria.cpp: In function ‘int main()’:
pizzeria.cpp:38:10: error: no match for ‘operator<’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘int’)
38 | cout<<n < 100;
| ~~~~~~~ ^ ~~~
| | |
| | int
| std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}
pizzeria.cpp:38:10: note: candidate: ‘operator<(int, int)’ <built-in>
38 | cout<<n < 100;
| ~~~~~~~~^~~~~
pizzeria.cpp:38:10: note: no known conversion for argument 1 from ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<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 pizzeria.cpp:1:
/usr/include/c++/9/bits/regex.h:1048:5: note: candidate: ‘template<class _BiIte