之前没有这个@suppresswarnings,Scanner n=new Scanner (System.in);
int nn=n.nextInt();不警告的!但现在会了。不知道发生了什么
scanner 没手动关闭的警告吧,最后调一把 n.close();