如果要用cin/cout的话最好在前面加上ios::sync_with_stdio(0);,这样一般问题就不大了。 根据相关法律法规,一般题目允许卡cin/cout,不允许卡printf/scanf
点赞 3

相关推荐

点赞 评论 收藏
转发

牛客热帖

牛客网
牛客企业服务