Problem | area_noi |
---|---|
User | Angla |
Submission Time | 2025-03-11 19:47:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
area_noi.cpp: In function ‘int main()’:
area_noi.cpp:7:24: error: expected ‘;’ before ‘)’ token
7 | for(int i=0;i=n,i++){
| ^
| ;
area_noi.cpp:9:15: error: no match for ‘operator>>’ (operand types are ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} and ‘const char [2]’)
9 | cin>>h>>" ">>w;
| ~~~~~~^~~~~
| | |
| | const char [2]
| std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}
In file included 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++.h:54,
from area_noi.cpp:1:
/usr/include/c++/9/istream:168:7: note: candidate