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

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; }


测评信息: