提交时间:2023-08-22 16:07:46

运行 ID: 99300

#include<bits/stdc++.h> //#define int long long using namespace std; namespace Fast{ inline int fr(){ register int x = 0,f = 1; static char c = getchar(); while (c < '0' || c > '9'){ if (c == '-'){ f = -1; } c = getchar(); } while (c >= '0' && c <= '9'){ x = (x << 1) + (x << 3) + (c ^ 48); c = getchar(); } return x * f; } inline void fw(int x){ if (x < 0){ x = -x; putchar('-'); } if (x > 9){ fw(x / 10); } putchar(x % 10 + 48); } } using namespace Fast; char s[114514]; signed main(){ int size = 0,o = 0; for (int i = 1;i <= 26;i++){ char c = i - 1 + 'a'; if (i % 3 != 0){ o++; } s[o] = i - 1 + 'a'; } for (int i = o;i >= 1;i--){ cout<<s[i]<<' '; } return 0; }