Problem ducktransport
User shoryu386
Submission Time 2023-04-01 12:00:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ducktransport.cpp: In function ‘int main()’:
ducktransport.cpp:5:14: error: cannot convert ‘std::ostream’ {aka ‘std::basic_ostream<char>’} to ‘int’ in return
5 | #define fout cout
| ^~~~
ducktransport.cpp:11:10: note: in expansion of macro ‘fout’
11 | return fout;
| ^~~~
ducktransport.cpp:5:14: error: cannot convert ‘std::ostream’ {aka ‘std::basic_ostream<char>’} to ‘int’ in return
5 | #define fout cout
| ^~~~
ducktransport.cpp:15:10: note: in expansion of macro ‘fout’
15 | return fout;
| ^~~~