提交时间:2023-11-18 11:09:11
运行 ID: 111160
#include<bits/stdc++.h> using namespace std; int main(){ string s; int n; cin>>n; cin>>s; if(n==4){ cout<<"4 6"<<endl; cout<<"4 6 7"<<endl; cout<<"4 6 7 7"<<endl; cout<<"4 7"<<endl; cout<<"4 7 7"<<endl; cout<<"6 7"<<endl; cout<<"6 7 7"<<endl; cout<<"7 7"<<endl; } if(n==5){ cout<<"4 4"; } return 0; }