| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 4041 | 吴泽宇 | 奇偶位互换 | C++ | Runtime Error | 0 | 0 MS | 568 KB | 327 | 2019-12-28 19:12:33 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; string a[10000]; cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; } for(int i=1;i<=n;i++){ for(int j=0;j<25;j++){ int t=a[i][j*2+1]; a[i][j*2+1]=a[i][j*2]; a[i][j*2]=t; } } for(int i=1;i<=n;i++){ cout<<a[i]<<endl; } }