Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
99536 赵德明 字符栈 C++ 通过 100 0 MS 236 KB 251 2023-08-23 08:14:33

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int a[1005]; int now=1; for(int i=1;i<=26;i++){ a[now]=i; now++; if(i%2==0){ now--; } } for(int i=now-1;i>=1;i--){ cout<<char('a'+a[i]-1)<<" "; } return 0; }


测评信息: