#include <iostream>
#include <stdio.h>
#include <string.h>
using namespace std;
int main()
{
	string a;
	a.resize(100); //需要预先分配空间
	scanf("%s", &a[0]);
	puts(a.c_str());
	return 0;
}

 

相关文章:

  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2022-01-20
  • 2021-10-07
  • 2021-06-17
  • 2021-12-19
  • 2022-12-23
猜你喜欢
  • 2022-01-12
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2022-12-23
相关资源
相似解决方案