蒟蒻求助
  • 板块灌水区
  • 楼主sync_with_stdio
  • 当前回复13
  • 已保存回复13
  • 发布时间2020/9/4 21:04
  • 上次更新2023/11/5 13:44:28
查看原帖
蒟蒻求助
326944
sync_with_stdio楼主2020/9/4 21:04

某一道题我程序的一部分:

#include<bits/stdc++.h>
using namespace std;
int main()
{
	std::ios::sync_with_stdio(0);
	cin.tie(0),cout.tie(0);
	string f,a,now;
	cin>>f;
	int i;
	int cnt=0,minn=0x3f3f3f3f;
	getline(cin,a);
	return 0;
}

没法读入getline那个字符串,求大佬指点。

2020/9/4 21:04
加载中...