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_36296280_18990\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_36296280_18990\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_36296280_18990\Main.java:2: 错误: 非法字符: '#'
#define ri  int
^
0_0_36296280_18990\Main.java:5: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_36296280_18990\Main.java:6: 错误: 需要class, interface或enum
using namespace std;
^
0_0_36296280_18990\Main.java:8: 错误: 需要class, interface或enum
const ll mod=80112002;
^
0_0_36296280_18990\Main.java:9: 错误: 需要class, interface或enum
const ll inf=999999999;
^
0_0_36296280_18990\Main.java:11: 错误: 需要class, interface或enum
const ll N=5e5+5;
^
0_0_36296280_18990\Main.java:13: 错误: 需要class, interface或enum
ll n,m,k;
^
0_0_36296280_18990\Main.java:14: 错误: 需要class, interface或enum
struct dd{
^
0_0_36296280_18990\Main.java:16: 错误: 需要class, interface或enum
}a[N];
^
0_0_36296280_18990\Main.java:18: 错误: 需要class, interface或enum
ll t;
^
0_0_36296280_18990\Main.java:19: 错误: 需要class, interface或enum
bool cmp(dd a,dd b)
^
0_0_36296280_18990\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_36296280_18990\Main.java:25: 错误: 需要class, interface或enum
ll getp(ll x)
^
0_0_36296280_18990\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_36296280_18990\Main.java:33: 错误: 需要class, interface或enum
    cin.tie(0),cout.tie(0);
    ^
0_0_36296280_18990\Main.java:35: 错误: 需要class, interface或enum
    cin >> t;
    ^
0_0_36296280_18990\Main.java:36: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_36296280_18990\Main.java:39: 错误: 需要class, interface或enum
    	for(ri i=1;i<=n;i++) p[i]=i;
    	^
0_0_36296280_18990\Main.java:39: 错误: 需要class, interface或enum
    	for(ri i=1;i<=n;i++) p[i]=i;
    	           ^
0_0_36296280_18990\Main.java:39: 错误: 需要class, interface或enum
    	for(ri i=1;i<=n;i++) p[i]=i;
    	                ^
0_0_36296280_18990\Main.java:40: 错误: 需要class, interface或enum
    	for(ri i=1;i<=m;i++) cin >> a[i].x >> a[i].y >> a[i].z;
    	^
0_0_36296280_18990\Main.java:40: 错误: 需要class, interface或enum
    	for(ri i=1;i<=m;i++) cin >> a[i].x >> a[i].y >> a[i].z;
    	           ^
0_0_36296280_18990\Main.java:40: 错误: 需要class, interface或enum
    	for(ri i=1;i<=m;i++) cin >> a[i].x >> a[i].y >> a[i].z;
    	                ^
0_0_36296280_18990\Main.java:41: 错误: 需要class, interface或enum
    	sort(a+1,a+1+m,cmp);
    	^
0_0_36296280_18990\Main.java:43: 错误: 需要class, interface或enum
    	ll nums=n;
    	^
0_0_36296280_18990\Main.java:44: 错误: 需要class, interface或enum
    	ll ans=0;
    	^
0_0_36296280_18990\Main.java:45: 错误: 需要class, interface或enum
    	ll px,py;
    	^
0_0_36296280_18990\Main.java:46: 错误: 需要class, interface或enum
    	for(ri i=1;i<=m;i++)
    	^
0_0_36296280_18990\Main.java:46: 错误: 需要class, interface或enum
    	for(ri i=1;i<=m;i++)
    	           ^
0_0_36296280_18990\Main.java:46: 错误: 需要class, interface或enum
    	for(ri i=1;i<=m;i++)
    	                ^
0_0_36296280_18990\Main.java:49: 错误: 需要class, interface或enum
    		if(px==py) continue;
    		^
0_0_36296280_18990\Main.java:51: 错误: 需要class, interface或enum
    		if(nums-1==k) 
    		^
0_0_36296280_18990\Main.java:54: 错误: 需要class, interface或enum
			}
			^
0_0_36296280_18990\Main.java:60: 错误: 需要class, interface或enum
					return 0;
					^
0_0_36296280_18990\Main.java:61: 错误: 需要class, interface或enum
				}
				^
0_0_36296280_18990\Main.java:63: 错误: 需要class, interface或enum
			}
			^
0_0_36296280_18990\Main.java:64: 错误: 需要class, interface或enum
			p[px]=py;nums--;
			         ^
0_0_36296280_18990\Main.java:65: 错误: 需要class, interface或enum
		}
		^
0_0_36296280_18990\Main.java:67: 错误: 需要class, interface或enum
		else cout << ans << '\n';
		^
0_0_36296280_18990\Main.java:68: 错误: 需要class, interface或enum
	}
	^
0_0_36296280_18990\Main.java:70: 错误: 需要class, interface或enum
}
^
43 个错误


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