import java.io.*; 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 { String s1 = in.readLine(); char[] c = s1.toCharArray(); for (int i = 0; i < c.length; i++) { if (i == c.length - 1) { cout.print(c[i]); } else { cout.printf("%c ", c[i]); } } cout.flush(); } }
0.0分
0 人评分
小九九 (C语言代码)浏览:885 |
【回文数(二)】 (C++代码)浏览:932 |
C语言训练-求s=a+aa+aaa+aaaa+aa...a的值 (C++代码)(手动优化一下计算)浏览:1365 |
C语言程序设计教程(第三版)课后习题5.8 (C语言代码)浏览:806 |
矩形面积交 (Java代码)浏览:1281 |
C语言训练-斐波纳契数列 (C语言代码)浏览:1271 |
C语言训练-求素数问题 (C语言代码)浏览:1509 |
C语言程序设计教程(第三版)课后习题1.5 (C++代码)浏览:1114 |
C语言训练-数字母 (C语言代码)浏览:670 |
C语言程序设计教程(第三版)课后习题1.6 (C语言代码)浏览:689 |