标签:
------------------------------
水题、
AC代码:
1 import java.util.Scanner; 2 3 public class Main { 4 5 public static void main(String[] args) { 6 7 Scanner sc=new Scanner(System.in); 8 9 int times=Integer.parseInt(sc.nextLine()); 10 while(times-->0){ 11 String s=sc.nextLine(); 12 int ans=Integer.parseInt(s.substring(1,s.length())); 13 System.out.println(ans); 14 } 15 16 } 17 18 }
题目来源: http://acm.nyist.net/JudgeOnline/problem.php?pid=96
标签:
原文地址:http://www.cnblogs.com/cc11001100/p/5891253.html