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_22131348_13993\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_22131348_13993\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_22131348_13993\Main.java:4: 错误: 需要class, interface或enum
struct comp {
^
0_0_22131348_13993\Main.java:6: 错误: 需要class, interface或enum
	comp(double _r = 0, double _i = 0) {r = _r, i = _i;}
	^
0_0_22131348_13993\Main.java:6: 错误: 需要class, interface或enum
	comp(double _r = 0, double _i = 0) {r = _r, i = _i;}
	                                                   ^
0_0_22131348_13993\Main.java:7: 错误: 需要class, interface或enum
	comp operator+(const comp x) {return comp(r+x.r, i+x.i);}
	                                                        ^
0_0_22131348_13993\Main.java:8: 错误: 需要class, interface或enum
	comp operator-(const comp x) {return comp(r-x.r, i-x.i);}
	                                                        ^
0_0_22131348_13993\Main.java:9: 错误: 需要class, interface或enum
	comp operator*(const comp x) {return comp(r*x.r - i*x.i, r*x.i + i*x.r);}
	                                                                        ^
0_0_22131348_13993\Main.java:11: 错误: 需要class, interface或enum
const double pi = acos(-1.0);
^
0_0_22131348_13993\Main.java:12: 错误: 需要class, interface或enum
void fft(comp a[], int n, int t) {
^
0_0_22131348_13993\Main.java:13: 错误: 需要class, interface或enum
	for (int i = 1, j = 0; i < n-1; i++) {
	                       ^
0_0_22131348_13993\Main.java:13: 错误: 需要class, interface或enum
	for (int i = 1, j = 0; i < n-1; i++) {
	                                ^
0_0_22131348_13993\Main.java:14: 错误: 需要class, interface或enum
		for (int s = n; j ^= s>>=1, ~j&s;);
		                ^
0_0_22131348_13993\Main.java:14: 错误: 需要class, interface或enum
		for (int s = n; j ^= s>>=1, ~j&s;);
		                                 ^
0_0_22131348_13993\Main.java:15: 错误: 需要class, interface或enum
		if (i < j) swap(a[i], a[j]);
		^
0_0_22131348_13993\Main.java:16: 错误: 需要class, interface或enum
	}
	^
0_0_22131348_13993\Main.java:17: 错误: 需要class, interface或enum
	for (int d = 0; (1 << d) < n; d++) {
	                ^
0_0_22131348_13993\Main.java:17: 错误: 需要class, interface或enum
	for (int d = 0; (1 << d) < n; d++) {
	                              ^
0_0_22131348_13993\Main.java:19: 错误: 需要class, interface或enum
		double o = pi/m*t;
		^
0_0_22131348_13993\Main.java:20: 错误: 需要class, interface或enum
		comp _w(cos(o), sin(o));
		^
0_0_22131348_13993\Main.java:21: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i+= m2) {
		^
0_0_22131348_13993\Main.java:21: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i+= m2) {
		                ^
0_0_22131348_13993\Main.java:21: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i+= m2) {
		                       ^
0_0_22131348_13993\Main.java:23: 错误: 需要class, interface或enum
			for (int j = 0; j < m; j++) {
			^
0_0_22131348_13993\Main.java:23: 错误: 需要class, interface或enum
			for (int j = 0; j < m; j++) {
			                ^
0_0_22131348_13993\Main.java:23: 错误: 需要class, interface或enum
			for (int j = 0; j < m; j++) {
			                       ^
0_0_22131348_13993\Main.java:25: 错误: 需要class, interface或enum
				A = B-t; B = B+t; w = w*_w;
				^
0_0_22131348_13993\Main.java:25: 错误: 需要class, interface或enum
				A = B-t; B = B+t; w = w*_w;
				         ^
0_0_22131348_13993\Main.java:25: 错误: 需要class, interface或enum
				A = B-t; B = B+t; w = w*_w;
				                  ^
0_0_22131348_13993\Main.java:26: 错误: 需要class, interface或enum
			}
			^
0_0_22131348_13993\Main.java:30: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) a[i].r /= n;
		                ^
0_0_22131348_13993\Main.java:30: 错误: 需要class, interface或enum
		for (int i = 0; i < n; i++) a[i].r /= n;
		                       ^
0_0_22131348_13993\Main.java:31: 错误: 需要class, interface或enum
}
^
0_0_22131348_13993\Main.java:33: 错误: 需要class, interface或enum
string s1, s2;
^
0_0_22131348_13993\Main.java:34: 错误: 需要class, interface或enum
int len1, len2, len;
^
0_0_22131348_13993\Main.java:35: 错误: 需要class, interface或enum
comp a[maxn], b[maxn];
^
0_0_22131348_13993\Main.java:36: 错误: 需要class, interface或enum
bool flag;
^
0_0_22131348_13993\Main.java:37: 错误: 需要class, interface或enum
int ans[maxn];
^
0_0_22131348_13993\Main.java:38: 错误: 需要class, interface或enum
int main() {
^
0_0_22131348_13993\Main.java:41: 错误: 需要class, interface或enum
		len1 = s1.size();
		^
0_0_22131348_13993\Main.java:42: 错误: 需要class, interface或enum
		len2 = s2.size();
		^
0_0_22131348_13993\Main.java:43: 错误: 需要class, interface或enum
		len = 1;
		^
0_0_22131348_13993\Main.java:44: 错误: 需要class, interface或enum
		while (len < max(len1, len2)*2) len <<= 1;
		^
0_0_22131348_13993\Main.java:45: 错误: 需要class, interface或enum
		memset(a, 0, sizeof(a));
		^
0_0_22131348_13993\Main.java:46: 错误: 需要class, interface或enum
		memset(b, 0, sizeof(b));
		^
0_0_22131348_13993\Main.java:47: 错误: 需要class, interface或enum
		for (int i = len1-1; i >= 0; i--) a[len1-i-1] = comp(s1[i]-'0', 0);
		^
0_0_22131348_13993\Main.java:47: 错误: 需要class, interface或enum
		for (int i = len1-1; i >= 0; i--) a[len1-i-1] = comp(s1[i]-'0', 0);
		                     ^
0_0_22131348_13993\Main.java:47: 错误: 需要class, interface或enum
		for (int i = len1-1; i >= 0; i--) a[len1-i-1] = comp(s1[i]-'0', 0);
		                             ^
0_0_22131348_13993\Main.java:48: 错误: 需要class, interface或enum
		for (int i = len2-1; i >= 0; i--) b[len2-i-1] = comp(s2[i]-'0', 0);
		^
0_0_22131348_13993\Main.java:48: 错误: 需要class, interface或enum
		for (int i = len2-1; i >= 0; i--) b[len2-i-1] = comp(s2[i]-'0', 0);
		                     ^
0_0_22131348_13993\Main.java:48: 错误: 需要class, interface或enum
		for (int i = len2-1; i >= 0; i--) b[len2-i-1] = comp(s2[i]-'0', 0);
		                             ^
0_0_22131348_13993\Main.java:49: 错误: 需要class, interface或enum
		fft(a, len, 1);
		^
0_0_22131348_13993\Main.java:50: 错误: 需要class, interface或enum
		fft(b, len, 1);
		^
0_0_22131348_13993\Main.java:51: 错误: 需要class, interface或enum
		for (int i = 0; i < len; i++) a[i] = a[i]*b[i];
		^
0_0_22131348_13993\Main.java:51: 错误: 需要class, interface或enum
		for (int i = 0; i < len; i++) a[i] = a[i]*b[i];
		                ^
0_0_22131348_13993\Main.java:51: 错误: 需要class, interface或enum
		for (int i = 0; i < len; i++) a[i] = a[i]*b[i];
		                         ^
0_0_22131348_13993\Main.java:52: 错误: 需要class, interface或enum
		fft(a, len, -1);
		^
0_0_22131348_13993\Main.java:53: 错误: 需要class, interface或enum
		flag = false;
		^
0_0_22131348_13993\Main.java:54: 错误: 需要class, interface或enum
		memset(ans, 0, sizeof(ans));
		^
0_0_22131348_13993\Main.java:55: 错误: 需要class, interface或enum
		for (int i = 0; i < len; i++) {
		^
0_0_22131348_13993\Main.java:55: 错误: 需要class, interface或enum
		for (int i = 0; i < len; i++) {
		                ^
0_0_22131348_13993\Main.java:55: 错误: 需要class, interface或enum
		for (int i = 0; i < len; i++) {
		                         ^
0_0_22131348_13993\Main.java:57: 错误: 需要class, interface或enum
			ans[i+1] += ans[i]/10;
			^
0_0_22131348_13993\Main.java:58: 错误: 需要class, interface或enum
			ans[i] %= 10;
			^
0_0_22131348_13993\Main.java:59: 错误: 需要class, interface或enum
		}
		^
0_0_22131348_13993\Main.java:61: 错误: 需要class, interface或enum
		for (int i = len-1; i >= 0; i--) printf("%d", ans[i]);
		^
0_0_22131348_13993\Main.java:61: 错误: 需要class, interface或enum
		for (int i = len-1; i >= 0; i--) printf("%d", ans[i]);
		                    ^
0_0_22131348_13993\Main.java:61: 错误: 需要class, interface或enum
		for (int i = len-1; i >= 0; i--) printf("%d", ans[i]);
		                            ^
0_0_22131348_13993\Main.java:62: 错误: 需要class, interface或enum
		printf("\n");
		^
0_0_22131348_13993\Main.java:64: 错误: 需要class, interface或enum
	}
	^
70 个错误


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 06:38:11, Gzip enabled