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_18659445_1570\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_18659445_1570\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_18659445_1570\Main.java:2: 错误: 非法字符: '#'
#define INF 0x3f3f3f3f
^
0_0_18659445_1570\Main.java:5: 错误: 需要class, interface或enum
int n,m,ans;
^
0_0_18659445_1570\Main.java:6: 错误: 需要class, interface或enum
char mmap[17][17];
^
0_0_18659445_1570\Main.java:7: 错误: 需要class, interface或enum
int sta[17],tmp[17];
^
0_0_18659445_1570\Main.java:8: 错误: 需要class, interface或enum
int bit[17];
^
0_0_18659445_1570\Main.java:10: 错误: 需要class, interface或enum
void input(){
^
0_0_18659445_1570\Main.java:12: 错误: 需要class, interface或enum
    if(n>=m){
    ^
0_0_18659445_1570\Main.java:13: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++){
                    ^
0_0_18659445_1570\Main.java:13: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++){
                        ^
0_0_18659445_1570\Main.java:15: 错误: 需要class, interface或enum
            for(int j=0;j<m;j++){
            ^
0_0_18659445_1570\Main.java:15: 错误: 需要class, interface或enum
            for(int j=0;j<m;j++){
                        ^
0_0_18659445_1570\Main.java:15: 错误: 需要class, interface或enum
            for(int j=0;j<m;j++){
                            ^
0_0_18659445_1570\Main.java:18: 错误: 需要class, interface或enum
                else sta[i] <<= 1;
                ^
0_0_18659445_1570\Main.java:19: 错误: 需要class, interface或enum
            }
            ^
0_0_18659445_1570\Main.java:23: 错误: 需要class, interface或enum
        for(int j=0;j<m;j++){
                    ^
0_0_18659445_1570\Main.java:23: 错误: 需要class, interface或enum
        for(int j=0;j<m;j++){
                        ^
0_0_18659445_1570\Main.java:25: 错误: 需要class, interface或enum
            for(int i=0;i<n;j++)
            ^
0_0_18659445_1570\Main.java:25: 错误: 需要class, interface或enum
            for(int i=0;i<n;j++)
                        ^
0_0_18659445_1570\Main.java:25: 错误: 需要class, interface或enum
            for(int i=0;i<n;j++)
                            ^
0_0_18659445_1570\Main.java:28: 错误: 需要class, interface或enum
                else sta[j] <<= 1;
                ^
0_0_18659445_1570\Main.java:29: 错误: 需要class, interface或enum
        }
        ^
0_0_18659445_1570\Main.java:31: 错误: 需要class, interface或enum
    }
    ^
0_0_18659445_1570\Main.java:35: 错误: 需要class, interface或enum
    for(int i=0;i<(1<<m);i++){
    ^
0_0_18659445_1570\Main.java:35: 错误: 需要class, interface或enum
    for(int i=0;i<(1<<m);i++){
                ^
0_0_18659445_1570\Main.java:35: 错误: 需要class, interface或enum
    for(int i=0;i<(1<<m);i++){
                         ^
0_0_18659445_1570\Main.java:37: 错误: 需要class, interface或enum
        step = 0;
        ^
0_0_18659445_1570\Main.java:38: 错误: 需要class, interface或enum
        for(int k=0;k<m&&step<ans;k++){
        ^
0_0_18659445_1570\Main.java:38: 错误: 需要class, interface或enum
        for(int k=0;k<m&&step<ans;k++){
                    ^
0_0_18659445_1570\Main.java:38: 错误: 需要class, interface或enum
        for(int k=0;k<m&&step<ans;k++){
                                  ^
0_0_18659445_1570\Main.java:41: 错误: 需要class, interface或enum
                if(k > 0) tmp[0] ^= bit[k-1];
                ^
0_0_18659445_1570\Main.java:42: 错误: 需要class, interface或enum
                if(k < m-1) tmp[0] ^= bit[k+1];
                ^
0_0_18659445_1570\Main.java:43: 错误: 需要class, interface或enum
                tmp[0] ^= bit[k];
                ^
0_0_18659445_1570\Main.java:44: 错误: 需要class, interface或enum
                tmp[1] ^= bit[k];
                ^
0_0_18659445_1570\Main.java:45: 错误: 需要class, interface或enum
            }
            ^
0_0_18659445_1570\Main.java:47: 错误: 需要class, interface或enum
        for(int j=1;j<n&&step < ans;j++){
                    ^
0_0_18659445_1570\Main.java:47: 错误: 需要class, interface或enum
        for(int j=1;j<n&&step < ans;j++){
                                    ^
0_0_18659445_1570\Main.java:48: 错误: 需要class, interface或enum
            for(int k=0;k<m&&step<ans ;k++){
                        ^
0_0_18659445_1570\Main.java:48: 错误: 需要class, interface或enum
            for(int k=0;k<m&&step<ans ;k++){
                                       ^
0_0_18659445_1570\Main.java:51: 错误: 需要class, interface或enum
                    if(k > 0) tmp[j] ^= bit[k-1];
                    ^
0_0_18659445_1570\Main.java:52: 错误: 需要class, interface或enum
                    if(k < m-1) tmp[j] ^= bit[k+1];
                    ^
0_0_18659445_1570\Main.java:53: 错误: 需要class, interface或enum
                    tmp[j] ^= bit[k];
                    ^
0_0_18659445_1570\Main.java:54: 错误: 需要class, interface或enum
                    tmp[j+1] ^= bit[k];
                    ^
0_0_18659445_1570\Main.java:55: 错误: 需要class, interface或enum
                }
                ^
0_0_18659445_1570\Main.java:59: 错误: 需要class, interface或enum
    }
    ^
0_0_18659445_1570\Main.java:64: 错误: 需要class, interface或enum
    for(int i=1;i<17;i++) bit[i] = (bit[i-1]<<1);
    ^
0_0_18659445_1570\Main.java:64: 错误: 需要class, interface或enum
    for(int i=1;i<17;i++) bit[i] = (bit[i-1]<<1);
                ^
0_0_18659445_1570\Main.java:64: 错误: 需要class, interface或enum
    for(int i=1;i<17;i++) bit[i] = (bit[i-1]<<1);
                     ^
0_0_18659445_1570\Main.java:65: 错误: 需要class, interface或enum
    while(~scanf("%d%d",&n,&m)){
    ^
0_0_18659445_1570\Main.java:67: 错误: 需要class, interface或enum
        input();
        ^
0_0_18659445_1570\Main.java:68: 错误: 需要class, interface或enum
        solve();
        ^
0_0_18659445_1570\Main.java:69: 错误: 需要class, interface或enum
        if(ans == INF) printf("Damaged billboard.\n");
        ^
0_0_18659445_1570\Main.java:70: 错误: 需要class, interface或enum
        else printf("You have to tap %d tiles.\n",ans);
        ^
0_0_18659445_1570\Main.java:71: 错误: 需要class, interface或enum
    }
    ^
0_0_18659445_1570\Main.java:73: 错误: 需要class, interface或enum
}
^
56 个错误


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-12-02 10:11:21, Gzip enabled