Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
113845 | 黄睿杰 | 13能被13整数的数 | C++ | Wrong Answer | 1 MS | 264 KB | 217 | 2025-03-16 18:23:54 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n,s=0; cin>>m>>n; for(int i=1;i<=m;i++){ if(i%13==0) s+=i; } for(int i=1;i<=n;i++){ if(i%13==0) s+=i; } cout<<s; return 0; }
------Input------
48 562
------Answer-----
12220
------Your output-----
12376