Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
82380 sh25_shenpy 乘法运算 C++ 解答错误 0 MS 256 KB 460 2026-01-11 19:18:28

Tests(0/4):


#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; return 0; } } else{ cout<<n*(m%10)<<endl; cout<<n*(m/10); return 0; } }


测评信息: