#include <string>
#include <iostream>
#include<vector>
using namespace std;

int main()
{
  vector<int> a(10,0);
  for (size_t i = 0; i < a.size(); ++i)
  {
    a[i] = i+1;
  }
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-29
  • 2021-08-07
  • 2021-06-08
猜你喜欢
  • 2021-06-28
  • 2021-10-01
  • 2022-02-20
  • 2021-06-15
  • 2021-06-18
  • 2021-11-25
  • 2022-12-23
相关资源
相似解决方案