Problem | area_noi |
---|---|
User | briyanii |
Submission Time | 2023-08-13 20:08:44 |
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:7: error: ‘i’ was not declared in this scope
7 | for (i = 0; i < n; i++) {
| ^
area_noi.cpp:8:7: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
8 | cin << h << w;
| ~~~ ^~ ~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
area_noi.cpp:8:7: note: candidate: ‘operator<<(int, int)’ <built-in>
8 | cin << h << w;
| ~~~~^~~~
area_noi.cpp:8:7: note: no known conversion for argument 1 from ‘std::istream’ {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 area_noi.cpp:1:
/usr/include/c++/9/bits/regex.h:1553:5: note: candidate: ‘template