摘要: set #include <bits/stdc++.h> using namespace std; int main(){ int y,n;//从哪里,多少数字不同 cin >> y >> n; for(int i=y;;i++){ //y中多少数字不同 set<int> st; string s= 阅读全文
posted @ 2024-03-11 18:38 YuKiCheng 阅读(16) 评论(0) 推荐(0)
摘要: 计算出行和列的大小,从最后一列往前填充。 #include <bits/stdc++.h> using namespace std; int main(){ int row; cin >> row; cin.get(); char input[100][100]; string cs; getlin 阅读全文
posted @ 2024-03-11 17:26 YuKiCheng 阅读(30) 评论(0) 推荐(0)