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_26334431_30766\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_26334431_30766\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_26334431_30766\Main.java:4: 错误: 需要class, interface或enum
char mp[20][20];
^
0_0_26334431_30766\Main.java:6: 错误: 需要class, interface或enum
bool dfs(char yuan, char fou, int x, int y)
^
0_0_26334431_30766\Main.java:9: 错误: 需要class, interface或enum
	int ans1 = 0;
	^
0_0_26334431_30766\Main.java:10: 错误: 需要class, interface或enum
	int ans2 = 0;
	^
0_0_26334431_30766\Main.java:11: 错误: 需要class, interface或enum
	for(int i = x; i > 0 && cnt < 5; i--, cnt++)
	^
0_0_26334431_30766\Main.java:11: 错误: 需要class, interface或enum
	for(int i = x; i > 0 && cnt < 5; i--, cnt++)
	               ^
0_0_26334431_30766\Main.java:11: 错误: 需要class, interface或enum
	for(int i = x; i > 0 && cnt < 5; i--, cnt++)
	                                 ^
0_0_26334431_30766\Main.java:14: 错误: 需要class, interface或enum
		if ( mp[i][y] == fou ) ans2++;
		^
0_0_26334431_30766\Main.java:15: 错误: 需要class, interface或enum
	}
	^
0_0_26334431_30766\Main.java:18: 错误: 需要class, interface或enum
	cnt = ans1 = ans2 = 0;
	^
0_0_26334431_30766\Main.java:19: 错误: 需要class, interface或enum
	for(int i = x; i <= 15 && cnt < 5; i++, cnt++)
	^
0_0_26334431_30766\Main.java:19: 错误: 需要class, interface或enum
	for(int i = x; i <= 15 && cnt < 5; i++, cnt++)
	               ^
0_0_26334431_30766\Main.java:19: 错误: 需要class, interface或enum
	for(int i = x; i <= 15 && cnt < 5; i++, cnt++)
	                                   ^
0_0_26334431_30766\Main.java:22: 错误: 需要class, interface或enum
		if ( mp[i][y] == fou ) ans2++;
		^
0_0_26334431_30766\Main.java:23: 错误: 需要class, interface或enum
	}
	^
0_0_26334431_30766\Main.java:27: 错误: 需要class, interface或enum
	cnt = ans1 = ans2 = 0;
	^
0_0_26334431_30766\Main.java:28: 错误: 需要class, interface或enum
	for(int i = y; i > 0 && cnt < 5; i--, cnt++)
	^
0_0_26334431_30766\Main.java:28: 错误: 需要class, interface或enum
	for(int i = y; i > 0 && cnt < 5; i--, cnt++)
	               ^
0_0_26334431_30766\Main.java:28: 错误: 需要class, interface或enum
	for(int i = y; i > 0 && cnt < 5; i--, cnt++)
	                                 ^
0_0_26334431_30766\Main.java:31: 错误: 需要class, interface或enum
		if ( mp[x][i] == fou ) ans2++;
		^
0_0_26334431_30766\Main.java:32: 错误: 需要class, interface或enum
	}
	^
0_0_26334431_30766\Main.java:35: 错误: 需要class, interface或enum
	cnt = ans1 = ans2 = 0;
	^
0_0_26334431_30766\Main.java:36: 错误: 需要class, interface或enum
	for(int i = y; i <= 15 && cnt < 5; i++, cnt++)
	^
0_0_26334431_30766\Main.java:36: 错误: 需要class, interface或enum
	for(int i = y; i <= 15 && cnt < 5; i++, cnt++)
	               ^
0_0_26334431_30766\Main.java:36: 错误: 需要class, interface或enum
	for(int i = y; i <= 15 && cnt < 5; i++, cnt++)
	                                   ^
0_0_26334431_30766\Main.java:39: 错误: 需要class, interface或enum
		if ( mp[x][i] == fou ) ans2++;
		^
0_0_26334431_30766\Main.java:40: 错误: 需要class, interface或enum
	}
	^
0_0_26334431_30766\Main.java:44: 错误: 需要class, interface或enum
	cnt = ans1 = ans2 = 0;
	^
0_0_26334431_30766\Main.java:45: 错误: 需要class, interface或enum
	for(int i = x, j = y; i > 0 && j > 0 && cnt < 5; i--, j--, cnt++)
	^
0_0_26334431_30766\Main.java:45: 错误: 需要class, interface或enum
	for(int i = x, j = y; i > 0 && j > 0 && cnt < 5; i--, j--, cnt++)
	                      ^
0_0_26334431_30766\Main.java:45: 错误: 需要class, interface或enum
	for(int i = x, j = y; i > 0 && j > 0 && cnt < 5; i--, j--, cnt++)
	                                                 ^
0_0_26334431_30766\Main.java:48: 错误: 需要class, interface或enum
		if ( mp[i][j] == fou ) ans2++;
		^
0_0_26334431_30766\Main.java:49: 错误: 需要class, interface或enum
	}
	^
0_0_26334431_30766\Main.java:53: 错误: 需要class, interface或enum
	cnt = ans1 = ans2 = 0;
	^
0_0_26334431_30766\Main.java:54: 错误: 需要class, interface或enum
	for(int i = x, j = y; i > 0 && j <= 15 && cnt < 5; i--, j++, cnt++)
	^
0_0_26334431_30766\Main.java:54: 错误: 需要class, interface或enum
	for(int i = x, j = y; i > 0 && j <= 15 && cnt < 5; i--, j++, cnt++)
	                      ^
0_0_26334431_30766\Main.java:54: 错误: 需要class, interface或enum
	for(int i = x, j = y; i > 0 && j <= 15 && cnt < 5; i--, j++, cnt++)
	                                                   ^
0_0_26334431_30766\Main.java:57: 错误: 需要class, interface或enum
		if ( mp[i][y] == fou ) ans2++;
		^
0_0_26334431_30766\Main.java:58: 错误: 需要class, interface或enum
	}
	^
0_0_26334431_30766\Main.java:62: 错误: 需要class, interface或enum
	cnt = ans1 = ans2 = 0;
	^
0_0_26334431_30766\Main.java:63: 错误: 需要class, interface或enum
	for(int i = x, j = y; i <= 15 && j > 0 && cnt < 5; i++, j--, cnt++)
	^
0_0_26334431_30766\Main.java:63: 错误: 需要class, interface或enum
	for(int i = x, j = y; i <= 15 && j > 0 && cnt < 5; i++, j--, cnt++)
	                      ^
0_0_26334431_30766\Main.java:63: 错误: 需要class, interface或enum
	for(int i = x, j = y; i <= 15 && j > 0 && cnt < 5; i++, j--, cnt++)
	                                                   ^
0_0_26334431_30766\Main.java:66: 错误: 需要class, interface或enum
		if ( mp[i][y] == fou ) ans2++;
		^
0_0_26334431_30766\Main.java:67: 错误: 需要class, interface或enum
	}
	^
0_0_26334431_30766\Main.java:71: 错误: 需要class, interface或enum
	cnt = ans1 = ans2 = 0;
	^
0_0_26334431_30766\Main.java:72: 错误: 需要class, interface或enum
	for(int i = x, j = y; i <= 15 && j <= 15 && cnt < 5; i++, j++, cnt++)
	^
0_0_26334431_30766\Main.java:72: 错误: 需要class, interface或enum
	for(int i = x, j = y; i <= 15 && j <= 15 && cnt < 5; i++, j++, cnt++)
	                      ^
0_0_26334431_30766\Main.java:72: 错误: 需要class, interface或enum
	for(int i = x, j = y; i <= 15 && j <= 15 && cnt < 5; i++, j++, cnt++)
	                                                     ^
0_0_26334431_30766\Main.java:75: 错误: 需要class, interface或enum
		if ( mp[i][y] == fou ) ans2++;
		^
0_0_26334431_30766\Main.java:76: 错误: 需要class, interface或enum
	}
	^
0_0_26334431_30766\Main.java:79: 错误: 需要class, interface或enum
	return false;
	^
0_0_26334431_30766\Main.java:80: 错误: 需要class, interface或enum
}
^
0_0_26334431_30766\Main.java:85: 错误: 需要class, interface或enum
    cin >> t;
    ^
0_0_26334431_30766\Main.java:86: 错误: 需要class, interface或enum
    while ( t-- )
    ^
0_0_26334431_30766\Main.java:89: 错误: 需要class, interface或enum
        int cnt_w = 0;
        ^
0_0_26334431_30766\Main.java:90: 错误: 需要class, interface或enum
        for(int i = 1; i <= 15; i++ )
        ^
0_0_26334431_30766\Main.java:90: 错误: 需要class, interface或enum
        for(int i = 1; i <= 15; i++ )
                       ^
0_0_26334431_30766\Main.java:90: 错误: 需要class, interface或enum
        for(int i = 1; i <= 15; i++ )
                                ^
0_0_26334431_30766\Main.java:92: 错误: 需要class, interface或enum
            for(int j = 1; j <= 15; j++ )
                           ^
0_0_26334431_30766\Main.java:92: 错误: 需要class, interface或enum
            for(int j = 1; j <= 15; j++ )
                                    ^
0_0_26334431_30766\Main.java:95: 错误: 需要class, interface或enum
                if ( mp[i][j] == 'B' )cnt_b++;
                ^
0_0_26334431_30766\Main.java:96: 错误: 需要class, interface或enum
                if ( mp[i][j] == 'W' )cnt_w++;
                ^
0_0_26334431_30766\Main.java:97: 错误: 需要class, interface或enum
            }
            ^
0_0_26334431_30766\Main.java:100: 错误: 需要class, interface或enum
        char fou;
        ^
0_0_26334431_30766\Main.java:101: 错误: 需要class, interface或enum
        if ( cnt_b > cnt_w )
        ^
0_0_26334431_30766\Main.java:104: 错误: 需要class, interface或enum
        	fou = 'B';
        	^
0_0_26334431_30766\Main.java:105: 错误: 需要class, interface或enum
		}
		^
0_0_26334431_30766\Main.java:108: 错误: 需要class, interface或enum
			fou = 'W';
			^
0_0_26334431_30766\Main.java:109: 错误: 需要class, interface或enum
		}
		^
0_0_26334431_30766\Main.java:112: 错误: 需要class, interface或enum
		for(int i = 1; i <= 15; i++ )
		^
0_0_26334431_30766\Main.java:112: 错误: 需要class, interface或enum
		for(int i = 1; i <= 15; i++ )
		               ^
0_0_26334431_30766\Main.java:112: 错误: 需要class, interface或enum
		for(int i = 1; i <= 15; i++ )
		                        ^
0_0_26334431_30766\Main.java:114: 错误: 需要class, interface或enum
			for(int j = 1; j <= 15; j++ )
			               ^
0_0_26334431_30766\Main.java:114: 错误: 需要class, interface或enum
			for(int j = 1; j <= 15; j++ )
			                        ^
0_0_26334431_30766\Main.java:121: 错误: 需要class, interface或enum
						break;
						^
0_0_26334431_30766\Main.java:122: 错误: 需要class, interface或enum
					}
					^
0_0_26334431_30766\Main.java:126: 错误: 需要class, interface或enum
		}
		^
0_0_26334431_30766\Main.java:130: 错误: 需要class, interface或enum
		}
		^
0_0_26334431_30766\Main.java:133: 错误: 需要class, interface或enum
		}
		^
0_0_26334431_30766\Main.java:136: 错误: 需要class, interface或enum
}
^
83 个错误


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 06:33:48, Gzip enabled