0_0_22343493_29082\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_22343493_29082\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_22343493_29082\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_22343493_29082\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_22343493_29082\Main.java:4: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_22343493_29082\Main.java:5: 错误: 非法字符: '#'
#include<iostream>
^
0_0_22343493_29082\Main.java:6: 错误: 非法字符: '#'
#include<cmath>
^
0_0_22343493_29082\Main.java:8: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_22343493_29082\Main.java:9: 错误: 需要class, interface或enum
const ll INF = 1ll<<61-1;
^
0_0_22343493_29082\Main.java:10: 错误: 需要class, interface或enum
struct node{
^
0_0_22343493_29082\Main.java:12: 错误: 需要class, interface或enum
}p[100002];
^
0_0_22343493_29082\Main.java:13: 错误: 需要class, interface或enum
bool cmp1(const node &a,const node &b){
^
0_0_22343493_29082\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_22343493_29082\Main.java:19: 错误: 需要class, interface或enum
}
^
0_0_22343493_29082\Main.java:21: 错误: 需要class, interface或enum
ll sum1[100002];
^
0_0_22343493_29082\Main.java:22: 错误: 需要class, interface或enum
int main(){
^
0_0_22343493_29082\Main.java:24: 错误: 需要class, interface或enum
scanf("%I64d",&t);
^
0_0_22343493_29082\Main.java:25: 错误: 需要class, interface或enum
while(t--){
^
0_0_22343493_29082\Main.java:27: 错误: 需要class, interface或enum
ll n;
^
0_0_22343493_29082\Main.java:28: 错误: 需要class, interface或enum
scanf("%I64d",&n);
^
0_0_22343493_29082\Main.java:29: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%I64d%I64d",&p[i].x,&p[i].y);
^
0_0_22343493_29082\Main.java:29: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%I64d%I64d",&p[i].x,&p[i].y);
^
0_0_22343493_29082\Main.java:29: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) scanf("%I64d%I64d",&p[i].x,&p[i].y);
^
0_0_22343493_29082\Main.java:30: 错误: 需要class, interface或enum
sort(p+1,p+n+1,cmp1);
^
0_0_22343493_29082\Main.java:31: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) dis[i]=p[i].x-p[1].x;
^
0_0_22343493_29082\Main.java:31: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) dis[i]=p[i].x-p[1].x;
^
0_0_22343493_29082\Main.java:31: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) dis[i]=p[i].x-p[1].x;
^
0_0_22343493_29082\Main.java:32: 错误: 需要class, interface或enum
for(int i = 1;i <= n;i++) sum1[i]=sum1[i-1]+dis[i];
^
0_0_22343493_29082\Main.java:32: 错误: 需要class, interface或enum
for(int i = 1;i <= n;i++) sum1[i]=sum1[i-1]+dis[i];
^
0_0_22343493_29082\Main.java:32: 错误: 需要class, interface或enum
for(int i = 1;i <= n;i++) sum1[i]=sum1[i-1]+dis[i];
^
0_0_22343493_29082\Main.java:33: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22343493_29082\Main.java:33: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22343493_29082\Main.java:33: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22343493_29082\Main.java:35: 错误: 需要class, interface或enum
p[i].sum+=abs((sum1[n]-sum1[i])-dis[i]*(n-i));
^
0_0_22343493_29082\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_22343493_29082\Main.java:38: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) dis[i]=p[i].y-p[1].y;
^
0_0_22343493_29082\Main.java:38: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) dis[i]=p[i].y-p[1].y;
^
0_0_22343493_29082\Main.java:38: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++) dis[i]=p[i].y-p[1].y;
^
0_0_22343493_29082\Main.java:39: 错误: 需要class, interface或enum
for(int i = 1;i <= n;i++) sum1[i]=sum1[i-1]+dis[i];
^
0_0_22343493_29082\Main.java:39: 错误: 需要class, interface或enum
for(int i = 1;i <= n;i++) sum1[i]=sum1[i-1]+dis[i];
^
0_0_22343493_29082\Main.java:39: 错误: 需要class, interface或enum
for(int i = 1;i <= n;i++) sum1[i]=sum1[i-1]+dis[i];
^
0_0_22343493_29082\Main.java:40: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22343493_29082\Main.java:40: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22343493_29082\Main.java:40: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22343493_29082\Main.java:42: 错误: 需要class, interface或enum
p[i].sum+=abs((sum1[n]-sum1[i])-dis[i]*(n-i));
^
0_0_22343493_29082\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_22343493_29082\Main.java:45: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22343493_29082\Main.java:45: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22343493_29082\Main.java:45: 错误: 需要class, interface或enum
for(int i=1;i<=n;i++){
^
0_0_22343493_29082\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_22343493_29082\Main.java:51: 错误: 需要class, interface或enum
}
^
51 个错误
|