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_2840727_4074\Main.java:16: 不兼容的类型
找到: java.lang.String
需要: boolean
        while(s=cin.nextLine()) {
               ^
0_0_2840727_4074\Main.java:17: 需要数组,但找到 java.lang.String
        	num1=s[0]-'A';
        	      ^
0_0_2840727_4074\Main.java:18: 需要数组,但找到 java.lang.String
        	if(s[1]=='=') {
        	    ^
0_0_2840727_4074\Main.java:19: 需要数组,但找到 java.lang.String
        		num2=s[2]-'A';
        		      ^
0_0_2840727_4074\Main.java:23: 需要数组,但找到 java.lang.String
        		num2=s[3]-'A';
        		      ^
0_0_2840727_4074\Main.java:24: 需要数组,但找到 java.lang.String
        		if(s[2]=='+') c=a[num1].add(a[num2]);
        		    ^
0_0_2840727_4074\Main.java:26: 不兼容的类型
找到: java.math.BigInteger
需要: java.math.BigInteger[]
        		a=c;
        		  ^
7 错误


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-25 20:16:44, Gzip enabled