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_19011551_14086\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_19011551_14086\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_19011551_14086\Main.java:5: 错误: 需要class, interface或enum
const int maxn = 2e5 + 50;
^
0_0_19011551_14086\Main.java:7: 错误: 需要class, interface或enum
struct query{
^
0_0_19011551_14086\Main.java:9: 错误: 需要class, interface或enum
	friend bool operator < (const query & x , const query & y){
	^
0_0_19011551_14086\Main.java:11: 错误: 需要class, interface或enum
	}
	^
0_0_19011551_14086\Main.java:14: 错误: 需要class, interface或enum
unordered_map < int , vector < int > > memory;
^
0_0_19011551_14086\Main.java:15: 错误: 需要class, interface或enum
pair < int , int > ans[maxn];
^
0_0_19011551_14086\Main.java:16: 错误: 需要class, interface或enum
query ask[maxn];
^
0_0_19011551_14086\Main.java:17: 错误: 需要class, interface或enum
int n ;
^
0_0_19011551_14086\Main.java:19: 错误: 需要class, interface或enum
int main( int argc , char * argv[] ){
^
0_0_19011551_14086\Main.java:21: 错误: 需要class, interface或enum
	for(int i = 0 ; i < n ; ++ i) ask[i].index = i;
	^
0_0_19011551_14086\Main.java:21: 错误: 需要class, interface或enum
	for(int i = 0 ; i < n ; ++ i) ask[i].index = i;
	                ^
0_0_19011551_14086\Main.java:21: 错误: 需要class, interface或enum
	for(int i = 0 ; i < n ; ++ i) ask[i].index = i;
	                        ^
0_0_19011551_14086\Main.java:22: 错误: 需要class, interface或enum
	sort( ask , ask + n );
	^
0_0_19011551_14086\Main.java:23: 错误: 需要class, interface或enum
	for(int i = 0 ; i < n ; ){
	^
0_0_19011551_14086\Main.java:23: 错误: 需要class, interface或enum
	for(int i = 0 ; i < n ; ){
	                ^
0_0_19011551_14086\Main.java:23: 错误: 需要class, interface或enum
	for(int i = 0 ; i < n ; ){
	                        ^
0_0_19011551_14086\Main.java:25: 错误: 需要class, interface或enum
		memory.clear();
		^
0_0_19011551_14086\Main.java:26: 错误: 需要class, interface或enum
		while( j < n && ask[j].sum == ask[i].sum ){
		^
0_0_19011551_14086\Main.java:28: 错误: 需要class, interface或enum
			++ j;
			^
0_0_19011551_14086\Main.java:29: 错误: 需要class, interface或enum
		}
		^
0_0_19011551_14086\Main.java:30: 错误: 需要class, interface或enum
		for( int f = 1 ; f < ask[i].sum ; ++ f ){
		                 ^
0_0_19011551_14086\Main.java:30: 错误: 需要class, interface或enum
		for( int f = 1 ; f < ask[i].sum ; ++ f ){
		                                  ^
0_0_19011551_14086\Main.java:32: 错误: 需要class, interface或enum
			int lc = f * g / __gcd( f , g );
			^
0_0_19011551_14086\Main.java:33: 错误: 需要class, interface或enum
			if( memory.count( lc ) ){
			^
0_0_19011551_14086\Main.java:35: 错误: 需要class, interface或enum
				while( ! vi.empty() ){
				^
0_0_19011551_14086\Main.java:37: 错误: 需要class, interface或enum
					vi.pop_back();
					^
0_0_19011551_14086\Main.java:38: 错误: 需要class, interface或enum
				}
				^
0_0_19011551_14086\Main.java:40: 错误: 需要class, interface或enum
			}
			^
0_0_19011551_14086\Main.java:43: 错误: 需要class, interface或enum
	}
	^
0_0_19011551_14086\Main.java:44: 错误: 需要class, interface或enum
	for(int i = 0 ; i < n ; ++ i)
	                ^
0_0_19011551_14086\Main.java:44: 错误: 需要class, interface或enum
	for(int i = 0 ; i < n ; ++ i)
	                        ^
0_0_19011551_14086\Main.java:47: 错误: 需要class, interface或enum
		else
		^
0_0_19011551_14086\Main.java:49: 错误: 需要class, interface或enum
	return 0;
	^
0_0_19011551_14086\Main.java:50: 错误: 需要class, interface或enum
}
^
36 个错误


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-18 06:40:41, Gzip enabled