Problem | fizzbuzz |
---|---|
User | ansel |
Submission Time | 2024-05-17 14:57:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
fizzbuzz.cpp: In function ‘int main()’:
fizzbuzz.cpp:5:26: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
5 | int N; int A; int B; cin<<N<<A<<B;
| ~~~^~~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
fizzbuzz.cpp:5:26: note: candidate: ‘operator<<(int, int)’ <built-in>
5 | int N; int A; int B; cin<<N<<A<<B;
| ~~~^~~
fizzbuzz.cpp:5:26: 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 fizzbuzz.cpp:1:
/usr/include/c++/9/bits/regex.h:1553:5: note