7 条题解

  • 0
    @ 2024-6-21 19:36:19

    #include <bits/stdc++.h> using namespace std; int main(){ int n,num=0; cin>>n; for(int i=1;i<=n;i++){ num+=i; } cout<<num; return 0; }

    | col1


    | col2 | col3 | | --- | --- | --- | | | | | | | | |

    信息

    ID
    906
    时间
    1000ms
    内存
    128MiB
    难度
    5
    标签
    递交数
    552
    已通过
    233
    上传者