| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 82381 | sh25_shenpy | 乘法运算 | C++ | 解答错误 | 1 MS | 256 KB | 516 | 2026-01-11 19:19:19 |
#include<bits/stdc++.h> using namespace std; int main() { int n,m; cin>>n>>m; cout<<n<<endl; cout<<m<<endl; if(m/10==0){ if(n/10==0){ cout<<n*m; return 0; } else{ cout<<(n%10)*m<<endl; cout<<(n/10)*m<<endl; cout<<n*m; return 0; } } else{ cout<<n*(m%10)<<endl; cout<<n*(m/10)<<endl; cout<<n*m; return 0; } }