Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8260 | 侯宜辰 | 13分苹果 | C++ | Wrong Answer | 0 MS | 252 KB | 366 | 2025-06-21 20:10:02 |
#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 a,b=0; cin>>a; for(int i;i>=a;i++){ b=b+i; } cout<<b<<endl; return 0; }
------Input------
51
------Answer-----
1326
------Your output-----
0