Run ID:80819

提交时间:2024-07-11 16:30:02

#include<bits/stdc++.h> using namespace std; int main(){ int k,end,first; cin>>k; for(int i=1;i<=n;i++){ if(first==0){ first=i; end=i; } if(first==0){ cout<<-1; }else{ cout<<first<<" "<<end; } }