| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 152965 | 罗钰帆 | 13能被13整数的数 | C++ | Wrong Answer | 0 MS | 268 KB | 434 | 2026-05-07 19:38:42 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int n=0,m=0,i,z=32; cin>>n>>m; if(n>=13){ for(i=n;i<=m;i+=13){ z=z+i; } cout<<z; } else cout<<13; return 0; }
------Input------
48 562
------Answer-----
12220
------Your output-----
12092