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_28964417_15279\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_28964417_15279\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_28964417_15279\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_28964417_15279\Main.java:3: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_28964417_15279\Main.java:6: 错误: 需要class, interface或enum
int a[4],m[4];
^
0_0_28964417_15279\Main.java:7: 错误: 需要class, interface或enum
int p,e,i,d,t=1;
^
0_0_28964417_15279\Main.java:9: 错误: 需要class, interface或enum
void exgcd(int a,int b,int &x,int &y) {
^
0_0_28964417_15279\Main.java:12: 错误: 需要class, interface或enum
		y=0;
		^
0_0_28964417_15279\Main.java:13: 错误: 需要class, interface或enum
		return;
		^
0_0_28964417_15279\Main.java:14: 错误: 需要class, interface或enum
	}
	^
0_0_28964417_15279\Main.java:16: 错误: 需要class, interface或enum
	int t;
	^
0_0_28964417_15279\Main.java:17: 错误: 需要class, interface或enum
	t=x;
	^
0_0_28964417_15279\Main.java:18: 错误: 需要class, interface或enum
	x=y;
	^
0_0_28964417_15279\Main.java:19: 错误: 需要class, interface或enum
	y=t-a/b*y;
	^
0_0_28964417_15279\Main.java:20: 错误: 需要class, interface或enum
}
^
0_0_28964417_15279\Main.java:24: 错误: 需要class, interface或enum
	for(int i=1; i<=n; i++)M*=m[i]; //求出M
	^
0_0_28964417_15279\Main.java:24: 错误: 需要class, interface或enum
	for(int i=1; i<=n; i++)M*=m[i]; //求出M
	             ^
0_0_28964417_15279\Main.java:24: 错误: 需要class, interface或enum
	for(int i=1; i<=n; i++)M*=m[i]; //求出M
	                   ^
0_0_28964417_15279\Main.java:25: 错误: 需要class, interface或enum
	for(int i=1; i<=n; i++) {
	^
0_0_28964417_15279\Main.java:25: 错误: 需要class, interface或enum
	for(int i=1; i<=n; i++) {
	             ^
0_0_28964417_15279\Main.java:25: 错误: 需要class, interface或enum
	for(int i=1; i<=n; i++) {
	                   ^
0_0_28964417_15279\Main.java:27: 错误: 需要class, interface或enum
		int Mi=M/m[i];
		^
0_0_28964417_15279\Main.java:28: 错误: 需要class, interface或enum
		exgcd(Mi,m[i],x,y);//扩展欧几里得求逆元
		^
0_0_28964417_15279\Main.java:29: 错误: 需要class, interface或enum
		ans=(ans+Mi*x*a[i])%M;//统计答案
		^
0_0_28964417_15279\Main.java:30: 错误: 需要class, interface或enum
	}
	^
0_0_28964417_15279\Main.java:32: 错误: 需要class, interface或enum
	return ans;
	^
0_0_28964417_15279\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_28964417_15279\Main.java:37: 错误: 需要class, interface或enum
	int t;
	^
0_0_28964417_15279\Main.java:38: 错误: 需要class, interface或enum
	scanf("%d",&t);
	^
0_0_28964417_15279\Main.java:39: 错误: 需要class, interface或enum
	while(cin>>p>>e>>i>>d) {
	^
0_0_28964417_15279\Main.java:41: 错误: 需要class, interface或enum
		a[1]=p;
		^
0_0_28964417_15279\Main.java:42: 错误: 需要class, interface或enum
		a[2]=e;
		^
0_0_28964417_15279\Main.java:43: 错误: 需要class, interface或enum
		a[3]=i;
		^
0_0_28964417_15279\Main.java:44: 错误: 需要class, interface或enum
		m[1]=23;
		^
0_0_28964417_15279\Main.java:45: 错误: 需要class, interface或enum
		m[2]=28;
		^
0_0_28964417_15279\Main.java:46: 错误: 需要class, interface或enum
		m[3]=33;
		^
0_0_28964417_15279\Main.java:47: 错误: 需要class, interface或enum
		int ans=CRT(a,m,3);
		^
0_0_28964417_15279\Main.java:48: 错误: 需要class, interface或enum
		if(ans<=d)
		^
0_0_28964417_15279\Main.java:50: 错误: 需要class, interface或enum
		printf("Case %d: the next triple peak occurs in %d days.\n",++cases, ans-d);
		^
0_0_28964417_15279\Main.java:51: 错误: 需要class, interface或enum
	}
	^
0_0_28964417_15279\Main.java:54: 错误: 需要class, interface或enum
}
^
41 个错误


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 20:02:19, Gzip enabled