| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 46452 | 杨中琦 | 奇偶位互换 | C++ | Accepted | 100 | 1 MS | 248 KB | 218 | 2022-07-13 13:27:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int c; char s[50]; cin>>c; for(int i=0;i<c;i++){ cin>>s; for(int j=0;j<strlen(s)/2;j++) cout<<s[j*2+1]<<s[j*2]; cout<<endl; } return 0; }