NYOJ题目817英文藏头诗
2016-08-31 09:43
232 查看
----------------------------------
AC代码:
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=Integer.parseInt(sc.nextLine()); StringBuilder ans=new StringBuilder(n); while(n-->0){ ans.append(sc.nextLine().charAt(0)); } System.out.println(ans.toString()); } }
题目来源: http://acm.nyist.net/JudgeOnline/problem.php?pid=817
相关文章推荐
- NYOJ 817 英文藏头诗
- nyoj-817-英文藏头诗
- NYOJ题目977 最大的最小公倍数(数学)
- NYOJ 题目19 擅长排列的小明(非图DFS)
- NYOJ 题目219 An problem about date(数学,吉姆拉尔森公式)
- NYOJ 题目20 吝啬的国度(邻接表+BFS)
- nyoj题目100:1的个数
- nyoj题目277:车牌号
- NYOJ 题目58 最小步数
- nyoj 题目409 郁闷的C小加(三)
- NYOJ 204 Coin Test【简单题+英文题】
- NYOJ 题目239 月老的难题 (二分图最大匹配-匈牙利算法模板)
- NYOJ 题目401 Coin Game
- NYOJ题目65另一种阶乘问题
- 题目:输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。
- Num 15: NYOJ: 题目0002 : 括号配对问题 [ 栈(stack) ]
- nyoj 题目975 关于521
- nyoj 题目1080 年龄排序(下标排序)