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.|

RGB7160 - Том үсэгт шилжүүл

Англи цагаан толгойн өгөгдсөн 3 үсгийг харгалзах том үсэгт нь шилжүүл.

Input

Нэг мөрөнд зайгаа тусгаарлагдан өгөгдөнө.

Output

Харгалзах том үсгүүд нэг мөрөнд зайгаар тусгаарлагдан хэвлэгдэнэ.

Example

Input:
 A n d

Output:
A N D

Нэмсэн:Bataa
Огноо:2013-02-05
Хугацааны хязгаарлалт: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

hide comments
2024-12-09 12:02:08
#include <bits/stdc++.h>
using namespace std;
int main()
{
int i;
char st[3];
for (i=0; i<3; i++)
cin>>st[i];
for (i=0; i<3; i++)
{
if (st[i]>96 && st[i]<123)
cout<<char(st[i]-32)<<" ";
else
cout<<char(st[i])<<" ";
}
return 0;
}

2024-11-24 15:43:27




2024-08-24 10:46:29
#include <iostream>
#include <cstring>
#include <iomanip>

using namespace std;

int main()
{
char ch[3];
for(int i = 0; i < 3; i++){
cin >> ch[i];
if(char(ch[i]) >= 64 && char(ch[i]) <= 95){
ch[i] = ch[i];
} else {
ch[i] = char(ch[i] - 32);
}
cout << ch[i] << " ";
}

return 0;
}
kkkkkkk
2023-07-25 14:37:07
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
char a, b, c;
cin >> a >> b >> c;
cout << (char) toupper(a) << " " << (char) toupper(b) << " " << (char) toupper(c) << endl;
return 0;
}
2023-03-16 10:42:30
#include<stdio.h>
#include<string.h>
main()
{int k,l,i,j;
char s[2],n[2],b[2];
scanf("%s%s%s",s,n,b);
if(s[0]>='A'&&s[0]<='Z') printf("%c ",s[0]); else printf("%c ",s[0]-32);
if(n[0]>='A'&&n[0]<='Z') printf("%c ",n[0]); else printf("%c ",n[0]-32);
if(b[0]>='A'&&b[0]<='Z') printf("%c ",b[0]); else printf("%c ",b[0]-32);
}
2023-02-27 07:01:06
nigga u r black
2022-03-26 18:23:02
#include <iostream>
#include <iomanip>
using namespace std;

int main() {
char a, b, c;
cin >> a >> b >> c;

cout << (char) toupper(a) << " " << (char) toupper(b) << " " << (char) toupper(c) << endl;
return 0;
} // Remzx Official
2022-03-18 10:43:17
#include<bits/stdc++.h>
using namespace std;
int main() {
char x,y,z;
cin >> x >> y >> z ;
if(int(x)>96 && 123>int(x)) cout << char(int(x)-32) << " " ;
else if(int(x)>64 && 91>int(x)) cout << x << " " ;
if(int(y)>96 && 123>int(y)) cout << char(int(y)-32) << " " ;
else if(int(y)>64 && 91>int(y)) cout << y << " " ;
if(int(z)>96 && 123>int(z)) cout << char(int(z)-32) ;
else if(int(z)>64 && 91>int(z)) cout << z ;
return 0;
}
2022-01-07 11:53:51
#include<iostream>
using namespace std;
int main(){
int a=3;
char b;
while(a>0){
cin>>b;
if(char(b)>91){
cout<<char(b-32)<<" ";
}
else{
cout<<char(b)<<" ";
}
a--;
}

return 0;
}
Dulguun
2021-11-06 05:35:18


Last edit: 2021-12-17 09:54:06
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.