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_25107993_11785\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_25107993_11785\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_25107993_11785\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_25107993_11785\Main.java:4: 错误: 非法字符: '#'
#define BASE 10
^
0_0_25107993_11785\Main.java:5: 错误: 非法字符: '#'
#define MAX_LEN 1005
^
0_0_25107993_11785\Main.java:27: 错误: 需要class, interface或enum
	for (int i = 0; i < len; i++)
	^
0_0_25107993_11785\Main.java:27: 错误: 需要class, interface或enum
	for (int i = 0; i < len; i++)
	                ^
0_0_25107993_11785\Main.java:27: 错误: 需要class, interface或enum
	for (int i = 0; i < len; i++)
	                         ^
0_0_25107993_11785\Main.java:32: 错误: 需要class, interface或enum
			a[i] -= 1;
			^
0_0_25107993_11785\Main.java:33: 错误: 需要class, interface或enum
		}
		^
0_0_25107993_11785\Main.java:37: 错误: 需要class, interface或enum
		}
		^
0_0_25107993_11785\Main.java:43: 错误: 需要class, interface或enum
	int len = strlen(a); int t = 0;
	                     ^
0_0_25107993_11785\Main.java:44: 错误: 需要class, interface或enum
	for (int i = 0; i < len / 2; i++)
	^
0_0_25107993_11785\Main.java:44: 错误: 需要class, interface或enum
	for (int i = 0; i < len / 2; i++)
	                ^
0_0_25107993_11785\Main.java:44: 错误: 需要class, interface或enum
	for (int i = 0; i < len / 2; i++)
	                             ^
0_0_25107993_11785\Main.java:47: 错误: 需要class, interface或enum
		a[i] = a[len - 1 - i];
		^
0_0_25107993_11785\Main.java:48: 错误: 需要class, interface或enum
		a[len - 1 - i] = t;
		^
0_0_25107993_11785\Main.java:49: 错误: 需要class, interface或enum
	}
	^
0_0_25107993_11785\Main.java:56: 错误: 需要class, interface或enum
	int T = 0;
	^
0_0_25107993_11785\Main.java:57: 错误: 需要class, interface或enum
	scanf("%d", &T);
	^
0_0_25107993_11785\Main.java:59: 错误: 需要class, interface或enum
	char test[] = { 'a', 'b', 0, 'c', 'd' };
	^
0_0_25107993_11785\Main.java:60: 错误: 需要class, interface或enum
	printf("len=%d\n", strlen(test));
	^
0_0_25107993_11785\Main.java:62: 错误: 需要class, interface或enum
	for (int t = 0; t < T; t++)
	^
0_0_25107993_11785\Main.java:62: 错误: 需要class, interface或enum
	for (int t = 0; t < T; t++)
	                ^
0_0_25107993_11785\Main.java:62: 错误: 需要class, interface或enum
	for (int t = 0; t < T; t++)
	                       ^
0_0_25107993_11785\Main.java:66: 错误: 需要class, interface或enum
		scanf("%s", num);
		^
0_0_25107993_11785\Main.java:68: 错误: 需要class, interface或enum
		revert(num);
		^
0_0_25107993_11785\Main.java:70: 错误: 需要class, interface或enum
		for (int i = 0; i < 50; i++)
		^
0_0_25107993_11785\Main.java:70: 错误: 需要class, interface或enum
		for (int i = 0; i < 50; i++)
		                ^
0_0_25107993_11785\Main.java:70: 错误: 需要class, interface或enum
		for (int i = 0; i < 50; i++)
		                        ^
0_0_25107993_11785\Main.java:73: 错误: 需要class, interface或enum
			char temp_b[MAX_LEN] = { 0 };
			^
0_0_25107993_11785\Main.java:74: 错误: 需要class, interface或enum
			char temp_c[MAX_LEN] = { 0 };
			^
0_0_25107993_11785\Main.java:75: 错误: 需要class, interface或enum
			char temp_d[MAX_LEN] = { 0 };
			^
0_0_25107993_11785\Main.java:76: 错误: 需要class, interface或enum
			int len = strlen(num);
			^
0_0_25107993_11785\Main.java:77: 错误: 需要class, interface或enum
			temp_b[0] = '1';
			^
0_0_25107993_11785\Main.java:79: 错误: 需要class, interface或enum
			if (len % 2 != 0)
			^
0_0_25107993_11785\Main.java:82: 错误: 需要class, interface或enum
				for (int j = 0; j < len / 2; j++)
				^
0_0_25107993_11785\Main.java:82: 错误: 需要class, interface或enum
				for (int j = 0; j < len / 2; j++)
				                ^
0_0_25107993_11785\Main.java:82: 错误: 需要class, interface或enum
				for (int j = 0; j < len / 2; j++)
				                             ^
0_0_25107993_11785\Main.java:85: 错误: 需要class, interface或enum
				}
				^
0_0_25107993_11785\Main.java:89: 错误: 需要class, interface或enum
				int len_a = strlen(temp_a);
				^
0_0_25107993_11785\Main.java:90: 错误: 需要class, interface或enum
				int len_c = strlen(temp_c);
				^
0_0_25107993_11785\Main.java:92: 错误: 需要class, interface或enum
				if (len_a == len_c)
				^
0_0_25107993_11785\Main.java:94: 错误: 需要class, interface或enum
					for (int j = 0; j <= len / 2; j++)
					                ^
0_0_25107993_11785\Main.java:94: 错误: 需要class, interface或enum
					for (int j = 0; j <= len / 2; j++)
					                              ^
0_0_25107993_11785\Main.java:97: 错误: 需要class, interface或enum
					}
					^
0_0_25107993_11785\Main.java:99: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                ^
0_0_25107993_11785\Main.java:99: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                             ^
0_0_25107993_11785\Main.java:102: 错误: 需要class, interface或enum
					}
					^
0_0_25107993_11785\Main.java:106: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                ^
0_0_25107993_11785\Main.java:106: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                             ^
0_0_25107993_11785\Main.java:109: 错误: 需要class, interface或enum
					}
					^
0_0_25107993_11785\Main.java:111: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                ^
0_0_25107993_11785\Main.java:111: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                             ^
0_0_25107993_11785\Main.java:114: 错误: 需要class, interface或enum
					}
					^
0_0_25107993_11785\Main.java:119: 错误: 需要class, interface或enum
				for (int j = 0; j < len / 2; j++)
				                ^
0_0_25107993_11785\Main.java:119: 错误: 需要class, interface或enum
				for (int j = 0; j < len / 2; j++)
				                             ^
0_0_25107993_11785\Main.java:122: 错误: 需要class, interface或enum
				}
				^
0_0_25107993_11785\Main.java:126: 错误: 需要class, interface或enum
				int len_a = strlen(temp_a);
				^
0_0_25107993_11785\Main.java:127: 错误: 需要class, interface或enum
				int len_c = strlen(temp_c);
				^
0_0_25107993_11785\Main.java:129: 错误: 需要class, interface或enum
				if (len_a == len_c)
				^
0_0_25107993_11785\Main.java:131: 错误: 需要class, interface或enum
					for (int j = 0; j <= len / 2; j++)
					                ^
0_0_25107993_11785\Main.java:131: 错误: 需要class, interface或enum
					for (int j = 0; j <= len / 2; j++)
					                              ^
0_0_25107993_11785\Main.java:134: 错误: 需要class, interface或enum
					}
					^
0_0_25107993_11785\Main.java:136: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                ^
0_0_25107993_11785\Main.java:136: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                             ^
0_0_25107993_11785\Main.java:139: 错误: 需要class, interface或enum
					}
					^
0_0_25107993_11785\Main.java:143: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                ^
0_0_25107993_11785\Main.java:143: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                             ^
0_0_25107993_11785\Main.java:146: 错误: 需要class, interface或enum
					}
					^
0_0_25107993_11785\Main.java:148: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                ^
0_0_25107993_11785\Main.java:148: 错误: 需要class, interface或enum
					for (int j = 0; j < len / 2; j++)
					                             ^
0_0_25107993_11785\Main.java:151: 错误: 需要class, interface或enum
					}
					^
0_0_25107993_11785\Main.java:159: 错误: 需要class, interface或enum
			int len_d = strlen(temp_d);
			^
0_0_25107993_11785\Main.java:160: 错误: 需要class, interface或enum
			if (len_d == 1)
			^
0_0_25107993_11785\Main.java:163: 错误: 需要class, interface或enum
			}
			^
0_0_25107993_11785\Main.java:166: 错误: 需要class, interface或enum
		}
		^
77 个错误


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-14 13:29:17, Gzip enabled