/*例如输入 SY
IN
输出:
1 SY
2 IN
*/
import
java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ Scanner scan=new Scanner(System.in); int n=1; while(scan.hasNext()) { String line = scan.nextLine(); System.out.println(n+" "+line); n++; } } }

 

相关文章:

  • 2022-12-23
  • 2022-02-03
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
相关资源
相似解决方案