Problem | area_noi |
---|---|
User | Catornado |
Submission Time | 2023-02-22 17:08:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area_noi.cpp: In function ‘int main()’:
area_noi.cpp:8:2: error: expected initializer before ‘cin’
8 | cin>>n;
| ^~~
area_noi.cpp:11:9: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator>=’
11 | if(h*w>=max){
| ~~~^~~~~
area_noi.cpp:12:10: error: overloaded function with no contextual type information
12 | max=h*w
| ^
area_noi.cpp:15:6: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
15 | cout<<max;
| ~~~~^~~~~
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.