2 条题解

  • 0
    @ 2023-10-14 11:35:47

    #include using namespace std; int main() { int n=1,m,s=0; cin >> m; while(n<=m){ s = s + n; n++; } cout << s; return 0; }

    • 0
      @ 2023-10-14 11:05:45

      #include using namespace std; int main() { int n; cin >> n; while(){ n++; } cout << s;

      return 0;
      

      }

      大概是

      • 1

      信息

      ID
      109
      时间
      1000ms
      内存
      128MiB
      难度
      7
      标签
      递交数
      15
      已通过
      8
      上传者