Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7440 - Тэмдэгтүүд

Өгөгдсөн англи цагаан толгойн үсгээс Z хүртэлх үсгүүдийг жишээн дээрх форматаар мөрүүдэд хэвлэ.

Input

Англи цагаан толгойн том үсэг өгөгдөнө.

Output

Өгөгдсөн цагаан толгойн үсгээс Z хүртэлх үсгүүдийг жишээн дээрх форматаар мөрүүдэд зайгүйгээр хэвлэнэ.

Example

Input:
X

Output:
X
XY
XYZ

Нэмсэн:Bataa
Огноо:2013-03-21
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE
Эх сурвалж:2013 он RGB7 Онлайн 1

hide comments
2024-01-18 08:49:21
#include<bits/stdc++.h>
using namespace std;
main(){
char c;
int i,j;
cin>>c;
for(i=c;i<=90;i++){
for(j=c;j<=i;j++){
printf("%c",j);
}
cout<<endl;
}
}
baga morond bichij sur suguud
2023-11-29 01:07:57
#include<bits/stdc++.h>
using namespace std;

int main() {
string a="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
char b;
cin>>b;
int i=1;
int c=a.find(b,0);
int d=c;
while(c<26){
cout<<a.substr(d,i)<<endl;
c++;
i++;
}
return 0;
}
suga aluud l avna


Last edit: 2023-11-29 01:08:14
2022-12-28 04:38:23
Scanner scan = new Scanner(System.in);
char c = scan.next().charAt(0);
int nu1=c;
for(int i=nu1;i<=90;i++) {
System.out.print((char)i+" ");
}
2022-10-13 13:40:19
;#include<bits/stdc++.h>
using namespace std;
char a,b;
main(){
long long c=0,d,e,i,j,n;
cin>>a;
fo;'/
r(i=a; i<=90; i++)
{
for(ii=a; j<=a+c; j++)
{
b=j;
cout<<b;
}
c++;
cout<<endl;
}

}/
2021-06-15 16:41:02
engej boldoggvi l ym bainldaa
2021-06-15 16:40:41
#include <stdio.h>
#include <string.h>
int main() {
char a;
scanf("%c",&a);
if (!(a>=65&&a<=91))
{
a-=32;
}
for (int i =a; i <=int('Z'); i++)
{
printf("%c ",i);
}
}
2021-03-09 15:59:26
#include<bits/stdc++.h>
using namespace std;

int main() {
string a="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
char b;
cin>>b;
int i=1;
int c=a.find(b,0);
int d=c;
while(c<26){
cout<<a.substr(d,i)<<endl;
c++;
i++;
}
return 0;
} bek
2021-01-14 12:24:46
int a;
{
cin>>a;
cout<<"A"<<endl;
cout<<"B"<<endl;
cout<<"C"<<endl;
cout<<"D"<<endl;
cout<<"E"<<endl;
cout<<"F"<<endl;
cout<<"G"<<endl;
cout<<"H"<<endl;
cout<<"I"<<endl;
cout<<"J"<<endl;
cout<<"K"<<endl;
cout<<"L"<<endl;
cout<<"M"<<endl;
cout<<"N"<<endl;
cout<<"O"<<endl;
cout<<"P"<<endl;
cout<<"Q"<<endl;
cout<<"R"<<endl;
cout<<"S"<<endl;
cout<<"T"<<endl;
cout<<"U"<<endl;
cout<<"V"<<endl;
cout<<"W"<<endl;
cout<<"X"<<endl;
cout<<"Y"<<endl;
cout<<"Z"<<endl;
}
{
cin>>b;
cout<<"B"<<endl;
cout<<"C"<<endl;
cout<<"D"<<endl;
cout<<"E"<<endl;
cout<<"F"<<endl;
cout<<"G"<<endl;
cout<<"H"<<endl;
cout<<"I"<<endl;
cout<<"J"<<endl;
cout<<"K"<<endl;
cout<<"L"<<endl;
cout<<"M"<<endl;
cout<<"N"<<endl;
cout<<"O"<<endl;
cout<<"P"<<endl;
cout<<"Q"<<endl;
cout<<"R"<<endl;
cout<<"S"<<endl;
cout<<"T"<<endl;
cout<<"U"<<endl;
cout<<"V"<<endl;
cout<<"W"<<endl;
cout<<"X"<<endl;
cout<<"Y"<<endl;
cout<<"Z"<<endl;
}
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.