| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 142677 | 梁敖铭 | 02三个数相乘 | C++ | Compile Error | 0 MS | 0 KB | 136 | 2026-01-11 15:04:54 |
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,C; cin<<a<<b<<C; cout<<a*b*C; return 0; }
Main.cc: In function 'int main()':
Main.cc:8:8: error: no match for 'operator<<' (operand types are 'std::istream {aka std::basic_istream}' and 'int')
cin<
Main.cc:8:8: note: no known conversion for argument 1 from 'std::istream {aka std::basic_istream}' to 'int'
In file included from /usr/include/c++/5/regex:61:0,
from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:108,
from Main.cc:1:
/usr/include/c++/5/bits/regex.h:1480:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::__cxx11::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::sub_match<_Bi_iter>&)
operator<<(basic_ostream<_Ch_type, _Ch_traits>& __os,
^
/usr/include/c++/5/bits/regex.h:1480:5: note: template argument deduction/substitution failed:
Main.cc:8:10: note: 'std::istream {aka std::basic_istream}' is not derived from 'std::basic_ostream<_CharT, _Traits>'
cin<