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_39733657_27013\Main.java:29: 错误: 不兼容的类型: boolean无法转换为int
                return true; // 所有坏人都被处决,且至少有一个好人仍然存活  
                       ^
0_0_39733657_27013\Main.java:49: 错误: 不兼容的类型: boolean无法转换为int
        return false; // 没有找到满足条件的m(但实际上,由于我们的循环逻辑,这种情况不会发生)  
               ^
0_0_39733657_27013\Main.java:75: 错误: 不兼容的类型: int无法转换为boolean
            if (simulateRound(n, k, m)) {  
                             ^
3 个错误


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-01 16:31:51, Gzip enabled