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_36878290_14369\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_36878290_14369\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_36878290_14369\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_36878290_14369\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_36878290_14369\Main.java:4: 错误: 非法字符: '#'
#define ll long long
^
0_0_36878290_14369\Main.java:6: 错误: 需要class, interface或enum
const int mx=100005;
^
0_0_36878290_14369\Main.java:7: 错误: 需要class, interface或enum
int t,n,m,cnt;
^
0_0_36878290_14369\Main.java:8: 错误: 需要class, interface或enum
struct node{
^
0_0_36878290_14369\Main.java:10: 错误: 需要class, interface或enum
	int ip;
	^
0_0_36878290_14369\Main.java:11: 错误: 需要class, interface或enum
}po[mx];
^
0_0_36878290_14369\Main.java:12: 错误: 需要class, interface或enum
inline ll read()
^
0_0_36878290_14369\Main.java:14: 错误: 需要class, interface或enum
	ll x=0,f=1;char ch=getchar();
	           ^
0_0_36878290_14369\Main.java:15: 错误: 需要class, interface或enum
	while(ch>'9'||ch<'0'){if(ch=='-') f=-1;ch=getchar();}
	^
0_0_36878290_14369\Main.java:15: 错误: 需要class, interface或enum
	while(ch>'9'||ch<'0'){if(ch=='-') f=-1;ch=getchar();}
	                                       ^
0_0_36878290_14369\Main.java:15: 错误: 需要class, interface或enum
	while(ch>'9'||ch<'0'){if(ch=='-') f=-1;ch=getchar();}
	                                                    ^
0_0_36878290_14369\Main.java:16: 错误: 需要class, interface或enum
	while(ch>='0'&&ch<='9'){x=(x<<3)+(x<<1)+ch-48;ch=getchar();}
	                                              ^
0_0_36878290_14369\Main.java:16: 错误: 需要class, interface或enum
	while(ch>='0'&&ch<='9'){x=(x<<3)+(x<<1)+ch-48;ch=getchar();}
	                                                           ^
0_0_36878290_14369\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_36878290_14369\Main.java:22: 错误: 需要class, interface或enum
		return a.sm<b.sm;
		^
0_0_36878290_14369\Main.java:23: 错误: 需要class, interface或enum
	}
	^
0_0_36878290_14369\Main.java:25: 错误: 需要class, interface或enum
}
^
0_0_36878290_14369\Main.java:31: 错误: 需要class, interface或enum
	for(int op=1;op<=t;++op){
	^
0_0_36878290_14369\Main.java:31: 错误: 需要class, interface或enum
	for(int op=1;op<=t;++op){
	             ^
0_0_36878290_14369\Main.java:31: 错误: 需要class, interface或enum
	for(int op=1;op<=t;++op){
	                   ^
0_0_36878290_14369\Main.java:32: 错误: 需要class, interface或enum
		n=read();m=read();
		         ^
0_0_36878290_14369\Main.java:33: 错误: 需要class, interface或enum
		ll sm=0,p,rp;
		^
0_0_36878290_14369\Main.java:34: 错误: 需要class, interface或enum
		bool flag=false;
		^
0_0_36878290_14369\Main.java:35: 错误: 需要class, interface或enum
		po[0].sm=0;po[0].ip=0;
		^
0_0_36878290_14369\Main.java:35: 错误: 需要class, interface或enum
		po[0].sm=0;po[0].ip=0;
		           ^
0_0_36878290_14369\Main.java:36: 错误: 需要class, interface或enum
		for(int i=1;i<n;++i){
		^
0_0_36878290_14369\Main.java:36: 错误: 需要class, interface或enum
		for(int i=1;i<n;++i){
		            ^
0_0_36878290_14369\Main.java:36: 错误: 需要class, interface或enum
		for(int i=1;i<n;++i){
		                ^
0_0_36878290_14369\Main.java:37: 错误: 需要class, interface或enum
			sm+=read();po[i].sm=sm;
			           ^
0_0_36878290_14369\Main.java:38: 错误: 需要class, interface或enum
			po[i].ip=i;
			^
0_0_36878290_14369\Main.java:39: 错误: 需要class, interface或enum
		}
		^
0_0_36878290_14369\Main.java:41: 错误: 需要class, interface或enum
		if(sm<0){
		^
0_0_36878290_14369\Main.java:42: 错误: 需要class, interface或enum
			flag=true;sm=-sm;
			          ^
0_0_36878290_14369\Main.java:43: 错误: 需要class, interface或enum
			for(int i=0;i<n;++i) po[i].sm=-po[i].sm;
			^
0_0_36878290_14369\Main.java:43: 错误: 需要class, interface或enum
			for(int i=0;i<n;++i) po[i].sm=-po[i].sm;
			            ^
0_0_36878290_14369\Main.java:43: 错误: 需要class, interface或enum
			for(int i=0;i<n;++i) po[i].sm=-po[i].sm;
			                ^
0_0_36878290_14369\Main.java:44: 错误: 需要class, interface或enum
		}
		^
0_0_36878290_14369\Main.java:45: 错误: 需要class, interface或enum
		for(int i=0;i<n;++i) po[i].id=sm!=0?(po[i].sm%sm+sm)%sm:0;
		            ^
0_0_36878290_14369\Main.java:45: 错误: 需要class, interface或enum
		for(int i=0;i<n;++i) po[i].id=sm!=0?(po[i].sm%sm+sm)%sm:0;
		                ^
0_0_36878290_14369\Main.java:46: 错误: 需要class, interface或enum
		sort(po,po+n,cmp);cnt=0;
		^
0_0_36878290_14369\Main.java:46: 错误: 需要class, interface或enum
		sort(po,po+n,cmp);cnt=0;
		                  ^
0_0_36878290_14369\Main.java:47: 错误: 需要class, interface或enum
		for(int i=1;i<n;++i) if(po[i].id!=po[i].id||po[i].sm!=po[i-1].sm) po[++cnt]=po[i];
		^
0_0_36878290_14369\Main.java:47: 错误: 需要class, interface或enum
		for(int i=1;i<n;++i) if(po[i].id!=po[i].id||po[i].sm!=po[i-1].sm) po[++cnt]=po[i];
		            ^
0_0_36878290_14369\Main.java:47: 错误: 需要class, interface或enum
		for(int i=1;i<n;++i) if(po[i].id!=po[i].id||po[i].sm!=po[i-1].sm) po[++cnt]=po[i];
		                ^
0_0_36878290_14369\Main.java:54: 错误: 需要class, interface或enum
		if(sm==0){
		^
0_0_36878290_14369\Main.java:55: 错误: 需要class, interface或enum
			for(int i=1;i<=m;++i){
			            ^
0_0_36878290_14369\Main.java:55: 错误: 需要class, interface或enum
			for(int i=1;i<=m;++i){
			                 ^
0_0_36878290_14369\Main.java:57: 错误: 需要class, interface或enum
				int l=0,r=cnt,mid;
				^
0_0_36878290_14369\Main.java:58: 错误: 需要class, interface或enum
				while(l<r){
				^
0_0_36878290_14369\Main.java:60: 错误: 需要class, interface或enum
					if(po[mid].sm<p) l=mid+1;
					^
0_0_36878290_14369\Main.java:61: 错误: 需要class, interface或enum
					else r=mid;
					^
0_0_36878290_14369\Main.java:62: 错误: 需要class, interface或enum
				}
				^
0_0_36878290_14369\Main.java:64: 错误: 需要class, interface或enum
				else printf("%d\n",po[l].ip);
				^
0_0_36878290_14369\Main.java:65: 错误: 需要class, interface或enum
			}
			^
0_0_36878290_14369\Main.java:68: 错误: 需要class, interface或enum
		for(int i=1;i<=m;++i){
		            ^
0_0_36878290_14369\Main.java:68: 错误: 需要class, interface或enum
		for(int i=1;i<=m;++i){
		                 ^
0_0_36878290_14369\Main.java:69: 错误: 需要class, interface或enum
			p=read();if(flag) p=-p;
			         ^
0_0_36878290_14369\Main.java:70: 错误: 需要class, interface或enum
			rp=(p%sm+sm)%sm;
			^
0_0_36878290_14369\Main.java:71: 错误: 需要class, interface或enum
			int l=0,r=cnt,mid;
			^
0_0_36878290_14369\Main.java:72: 错误: 需要class, interface或enum
			while(l<r){
			^
0_0_36878290_14369\Main.java:74: 错误: 需要class, interface或enum
				if(po[mid].id<rp) l=mid;
				^
0_0_36878290_14369\Main.java:75: 错误: 需要class, interface或enum
				else if(po[mid].id>rp) r=mid-1;
				^
0_0_36878290_14369\Main.java:76: 错误: 需要class, interface或enum
				else if(po[mid].sm>p) r=mid-1;
				^
0_0_36878290_14369\Main.java:77: 错误: 需要class, interface或enum
				else l=mid;
				^
0_0_36878290_14369\Main.java:78: 错误: 需要class, interface或enum
			}
			^
0_0_36878290_14369\Main.java:87: 错误: 需要class, interface或enum
			else if(sm>0&&po[l].sm>p) printf("-1\n");
			^
0_0_36878290_14369\Main.java:88: 错误: 需要class, interface或enum
			else if(sm<0&&po[l].sm<p) printf("-1\n");
			^
0_0_36878290_14369\Main.java:89: 错误: 需要class, interface或enum
			else printf("%lld\n",po[l].ip+n*(p-po[l].sm)/sm);
			^
0_0_36878290_14369\Main.java:90: 错误: 需要class, interface或enum
		}
		^
0_0_36878290_14369\Main.java:94: 错误: 需要class, interface或enum
}
^
74 个错误


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 07:19:34, Gzip enabled