Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
7661 | 刘逸杭 | 13能被13整数的数 | C++ | Accepted | 0 MS | 268 KB | 211 | 2025-05-10 20:15:32 |
#include<bits/stdc++.h> using namespace std; int main(){ int m,n,s=0; cin>>m>>n; for(int i=m;i<=n;i++){ if(i%13==0){ s+=i; } } cout<<s; return 0; }