Problem | gota |
---|---|
User | Skyler |
Submission Time | 2025-06-18 10:52:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gota.cpp: In function ‘int main()’:
gota.cpp:8:7: error: conflicting declaration ‘bool N’
8 | bool N = false;
| ^
gota.cpp:5:9: note: previous declaration as ‘int N’
5 | int A, N;
| ^
gota.cpp:12:7: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
12 | cin << D;
| ~~~ ^~ ~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
gota.cpp:12:7: note: candidate: ‘operator<<(int, int)’ <built-in>
12 | cin << D;
| ~~~~^~~~
gota.cpp:12: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 gota.cpp:1:
/usr/include/c++/9/bits/re