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

RGB7062 - Дараагийн тэмдэгт

Өгөгдсөн тэмдэгтийг дараагийн тэмдэгтийнх нь хамт хэвлэ.

Input

Тэмдэгт өгөгдөнө. Тусгай тэмдэгт бус.

Output

Тэмдэгт, дараагийн тэмдэгтийг зайгүйгээр нэг мөрөнд залган хэвлэ. ASCII code дагуу.

Example

Input:
c

Output:
cd

Нэмсэн: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-11-05 12:21:03
anyway they wont work it properly
char = input()
next_char = chr(ord(char) + 1)
print(char + next_char)
think what lan is this ok

2024-07-03 06:35:44
#include<iostream>
using namespace std;
int main () {
char a , k ;
cin >> a ;
k = a + 1 ;
cout << a << k ;
}
2024-03-21 15:52:51
#include <iostream>
using namespace std;
int main() {
char ch;
cin>>ch;
int temp = int(ch) + 1;
char t = char(temp);
cout<<ch<<t;
return 0;
}

choko in the house
2023-03-06 05:58:37
#include <bits/stdc++.h>

using namespace std ;

int main () {
char a , k ;
cin >> a ;
k = a + 1 ;
cout << a << k ;
return 0 ;
} huul 2 hha
2022-12-08 07:28:46
#include <bits/stdc++.h>
using namespace std;
int main (){
int n,p;
char h,o;
cin>>h;
p= int (h);
o=p+1;
cout<<h<<o;
return 0;
} hanguntee huul ich2
2022-08-11 13:21:48
import java.util.Scanner;

public class btos {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String str = sc.next();
int charVal = str.charAt(0);
String end = String.valueOf((char) (charVal + 1));
System.out.println(str + end);
}
}
2022-06-23 11:18:57
package main

import (
"fmt"
)

func main() {
var n, n2 int32
fmt.Printf("Temdegtiig oruulna uu: ")
fmt.Scanf("%c", &n)
n2 = n + 1
fmt.Printf("%c%c", n, n2)
}
golang code
2022-01-27 10:51:31
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);

char ch, ch1;

ch = input.next().charAt(0);

int n, n1;

n = ch;
n1 = n+1;

ch1 = (char) n1;

System.out.print(ch+""+ch1);

input.close();
}
}
2021-04-16 07:55:42
#include <bits/stdc++.h>
using namespace std;
int main()
{
long long a[1001],b[100],p,q,r,x,m,l=0,c,d=1,i,e,f,j,MAX,s=0,k,z,x1=0,y1,z1,x2=0,y2,z2,k1,k2,k3,phi;
long long n;
char h,o;
cin>>h;
p= int (h);
o=p+1;
cout<<h<<o;
return 0;
}
2021-01-18 07:35:50
мэдэхгүй
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.