Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
60368 | 氢氦锂铍硼 | J2 | C++ | 通过 | 100 | 0 MS | 244 KB | 266 | 2022-10-15 11:28:43 |
#include<bits/stdc++.h> using namespace std; int n,m,ans; int main(){ // freopen("J2.in","r",stdin); // freopen("J2.out","w",stdout); scanf("%d%d",&n,&m); ans+=(n/10)*(m/10)+(n/10)*(m%10)+(n%10)*(m/10)+(n%10)*(m%10); printf("%d\n",ans); return 0; }