Problem | duckwander |
---|---|
User | LiuZq |
Submission Time | 2025-01-05 16:27:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckwander.cpp: In function ‘int main()’:
duckwander.cpp:10:13: error: ‘y’ was not declared in this scope
10 | int x=0;y=0;
| ^
duckwander.cpp:15:12: error: no match for ‘operator>’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
15 | cin>a;
| ~~~^~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
duckwander.cpp:15:12: note: candidate: ‘operator>(int, int)’ <built-in>
15 | cin>a;
| ~~~^~
duckwander.cpp:15:12: 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 duckwander.cpp:1:
/usr/include/c++/9/bits/regex.h:1081:5: note: candidate: ‘templat