- 问答
- 2019-05-13 21:21:18 @
import java.util.Scanner;
import java.io.PrintStream;
public class mas {
public static void main(String[] args) throws java.io.UnsupportedEncodingException {
PrintStream ps = new PrintStream(System.out, true, "UTF-8");
Scanner in = new Scanner(System.in, "UTF-8");
int[]shu=new int[10];
for(int i=0;i<10;i++) {
int a=in.nextInt();
shu[i]=a;
}
int m=in.nextInt();
ps.print(shu[m+1]);
}
}
2 条评论
-
小熊 (wlnirvana) LV 8 MOD @ 2019-05-14 14:32:35
你得把错误信息也复制粘贴上来哈~
-
2019-05-14 10:56:19@
no error message
- 1