| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 82395 | sh25_shenpy | 有重复元素的排列问题 | C++ | No Test Data | 0 MS | 0 KB | 469 | 2026-01-11 19:50:16 |
#include<bits/stdc++.h> using namespace std; int main() { int n,i,j; cin>>n>>i>>j; for(int k=1;k<=n;++k){ cout<<"("<<i<<","<<k<<")"; } cout<<endl; for(int k=1;k<=n;++k){ cout<<"("<<k<<","<<j<<")"; } cout<<endl; for(int k=1;k<=n-j+i;++k){ cout<<"("<<k<<","<<k+abs(j-i)<<")"; } cout<<endl; for(int k=n;k>=i+j-n;--k){ cout<<"("<<k<<","<<i+j-k<<")"; } return 0; }