Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4210 | 黄言岐 | 12输出英文字母 | C++ | Wrong Answer | 0 MS | 248 KB | 244 | 2024-08-14 15:32:58 |
#include<iostream> using namespace std; int main(){ for(char i='a';i<='z';i++){ cout<<i; if(i!='z') cout<<','; } cout<<endl; for(char i='Z';i>='A';i--){ cout<<i; if(i!='A') cout<<','; } return 0; }
------Input------
496 3
------Answer-----
a b c d e f g h i j k l m n o p q r s t u v w x y z Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
------Your output-----
a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z Z,Y,X,W,V,U,T,S,R,Q,P,O,N,M,L,K,J,I,H,G,F,E,D,C,B,A