import java.io.*; /** * 使用 StringBuilder 和它的 reverse() 方法 */ public class Main { public static BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); public static BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out)); public static StreamTokenizer cin = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in))); public static PrintWriter cout = new PrintWriter(new OutputStreamWriter(System.out)); public static void main(String[] args) throws Exception { StringBuilder s = new StringBuilder(in.readLine()); s.reverse(); cout.print(s); cout.flush(); } }
0.0分
0 人评分
剪刀石头布 (C语言代码)不知道怎么直接在scanf中用枚举变量浏览:1436 |
【明明的随机数】 (C语言代码)浏览:845 |
C语言程序设计教程(第三版)课后习题1.6 (C语言代码)浏览:574 |
IP判断 (C语言描述,蓝桥杯)浏览:1118 |
字符串输入输出函数 (C语言代码)浏览:2605 |
循环入门练习5 (C语言代码)浏览:908 |
Tom数 (C语言代码)浏览:758 |
蚂蚁感冒 (C语言代码)浏览:816 |
Quadratic Equation (C语言代码)浏览:1034 |
A+B for Input-Output Practice (II) (C语言代码)浏览:622 |