Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
24295 U•ェ•*✔ 【USACO】奶牛式乘法 C++ 解答错误 0 MS 256 KB 218 2023-07-22 15:46:21

Tests(0/20):


#include "bits/stdc++.h" using namespace std; int main(){ long long x,y,ans=0,s; cin>>x>>y; while(x){ long long t=x%10; while(y){ s=y%10; ans+=t*s; y/=10; } x/=10; } cout<<ans*2; }


测评信息: