| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 141320 | gqj | 06变换四位数 | C++ | Compile Error | 0 MS | 0 KB | 158 | 2025-12-22 17:16:34 |
#include<iostream> using namespace std; int main(){ int a,s,d,f,g; cin>>a; s=a/1000%10; d=a/100%10; f=a/10%10; g=a/ cout<<s; }
Main.cc: In function 'int main()':
Main.cc:9:7: error: no match for 'operator/' (operand types are 'int' and 'std::ostream {aka std::basic_ostream}')
g=a/
^
Main.cc:9:7: note: candidate: operator/(int, int)
Main.cc:9:7: note: no known conversion for argument 2 from 'std::ostream {aka std::basic_ostream}' to 'int'