Problem flamethrower
User Sky
Submission Time 2025-06-26 00:54:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:9:23: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘int’)
9 | int t1, t2, t3; cin << t1 << t2 << t3;
| ~~~ ^~ ~~
| | |
| | int
| std::istream {aka std::basic_istream<char>}
flamethrower.cpp:9:23: note: candidate: ‘operator<<(int, int)’ <built-in>
9 | int t1, t2, t3; cin << t1 << t2 << t3;
| ~~~~^~~~~
flamethrower.cpp:9:23: 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 flamethrower.cpp:1:
/usr/include/c++/9/bits/