F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_5394489_15231\Main.java:8: cannot find symbol
symbol  : class Scanner
location: class Main
		Scanner s = new Scanner(System.in);
		^
0_0_5394489_15231\Main.java:8: cannot find symbol
symbol  : class Scanner
location: class Main
		Scanner s = new Scanner(System.in);
		                ^
0_0_5394489_15231\Main.java:12: cannot find symbol
symbol  : class HashMap
location: class Main
			HashMap<String,Integer> map=new HashMap<String,Integer>();
			^
0_0_5394489_15231\Main.java:12: cannot find symbol
symbol  : class HashMap
location: class Main
			HashMap<String,Integer> map=new HashMap<String,Integer>();
			                                ^
0_0_5394489_15231\Main.java:17: operator + cannot be applied to <any>.get.intValue,int
				else temp=map.get(colors).intValue()+1;
				                                  ^
0_0_5394489_15231\Main.java:17: incompatible types
found   : <nulltype>
required: int
				else temp=map.get(colors).intValue()+1;
				                                    ^
0_0_5394489_15231\Main.java:20: cannot find symbol
symbol  : class Set
location: class Main
			Set<String> set=map.keySet();
			^
7 errors


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 02:19:17, Gzip enabled