摘要: 比赛链接:https://www.luogu.com.cn/contest/314613#problems L1-5 1.字符串的输入,如果无空格用cin,有空格用getline,如果前面有cin,后面要用getline的话,要在cin完后,加上cin.ignore()。 2.如果在循环外已经定义了 阅读全文
posted @ 2026-03-18 13:34 Lambda_L 阅读(10) 评论(0) 推荐(0)