0_0_14876510_24946\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_14876510_24946\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_14876510_24946\Main.java:2: 错误: 非法字符: '#'
#include <ctype.h>
^
0_0_14876510_24946\Main.java:3: 错误: 非法字符: '#'
#include <string.h>
^
0_0_14876510_24946\Main.java:4: 错误: 非法字符: '#'
#include <stdlib.h>
^
0_0_14876510_24946\Main.java:5: 错误: 非法字符: '#'
#include <limits.h>
^
0_0_14876510_24946\Main.java:6: 错误: 非法字符: '#'
#include <math.h>
^
0_0_14876510_24946\Main.java:7: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_14876510_24946\Main.java:8: 错误: 非法字符: '#'
#include <stack>
^
0_0_14876510_24946\Main.java:9: 错误: 非法字符: '#'
#include <queue>
^
0_0_14876510_24946\Main.java:10: 错误: 非法字符: '#'
#include <vector>
^
0_0_14876510_24946\Main.java:11: 错误: 非法字符: '#'
#include <map>
^
0_0_14876510_24946\Main.java:12: 错误: 非法字符: '#'
#include <set>
^
0_0_14876510_24946\Main.java:13: 错误: 非法字符: '#'
#include <string>
^
0_0_14876510_24946\Main.java:14: 错误: 非法字符: '#'
#include <sstream>
^
0_0_14876510_24946\Main.java:15: 错误: 非法字符: '#'
#include<iostream>
^
0_0_14876510_24946\Main.java:18: 错误: 非法字符: '#'
#define lson l,m,rt<<1
^
0_0_14876510_24946\Main.java:18: 错误: 需要class, interface或enum
#define lson l,m,rt<<1
^
0_0_14876510_24946\Main.java:19: 错误: 非法字符: '#'
#define rson m+1,r,rt<<1|1
^
0_0_14876510_24946\Main.java:22: 错误: 需要class, interface或enum
const double pi=4.0*atan(1.0);
^
0_0_14876510_24946\Main.java:23: 错误: 需要class, interface或enum
const int MAXN=1000005;
^
0_0_14876510_24946\Main.java:24: 错误: 需要class, interface或enum
struct node
^
0_0_14876510_24946\Main.java:27: 错误: 需要class, interface或enum
int id;
^
0_0_14876510_24946\Main.java:28: 错误: 需要class, interface或enum
bool operator<(const node &a)const{
^
0_0_14876510_24946\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_14876510_24946\Main.java:34: 错误: 需要class, interface或enum
struct d{
^
0_0_14876510_24946\Main.java:36: 错误: 需要class, interface或enum
int id;
^
0_0_14876510_24946\Main.java:37: 错误: 需要class, interface或enum
bool operator<(const d &a)const{
^
0_0_14876510_24946\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_14876510_24946\Main.java:43: 错误: 需要class, interface或enum
int main()
^
0_0_14876510_24946\Main.java:46: 错误: 需要class, interface或enum
int T;
^
0_0_14876510_24946\Main.java:47: 错误: 需要class, interface或enum
int n,m;
^
0_0_14876510_24946\Main.java:48: 错误: 需要class, interface或enum
int a,b;
^
0_0_14876510_24946\Main.java:49: 错误: 需要class, interface或enum
int t;
^
0_0_14876510_24946\Main.java:50: 错误: 需要class, interface或enum
while(scanf("%d",&T)!=EOF)
^
0_0_14876510_24946\Main.java:53: 错误: 需要class, interface或enum
for(int cas=1;cas<=T;cas++)
^
0_0_14876510_24946\Main.java:53: 错误: 需要class, interface或enum
for(int cas=1;cas<=T;cas++)
^
0_0_14876510_24946\Main.java:57: 错误: 需要class, interface或enum
priority_queue<d> q1;
^
0_0_14876510_24946\Main.java:58: 错误: 需要class, interface或enum
priority_queue<node> q2;
^
0_0_14876510_24946\Main.java:61: 错误: 需要class, interface或enum
priority_queue<d> q3;
^
0_0_14876510_24946\Main.java:62: 错误: 需要class, interface或enum
priority_queue<node> q4;
^
0_0_14876510_24946\Main.java:64: 错误: 需要class, interface或enum
for(i=1;i<=n;i++)
^
0_0_14876510_24946\Main.java:64: 错误: 需要class, interface或enum
for(i=1;i<=n;i++)
^
0_0_14876510_24946\Main.java:64: 错误: 需要class, interface或enum
for(i=1;i<=n;i++)
^
0_0_14876510_24946\Main.java:67: 错误: 需要class, interface或enum
if(a>=0)
^
0_0_14876510_24946\Main.java:69: 错误: 需要class, interface或enum
else
^
0_0_14876510_24946\Main.java:72: 错误: 需要class, interface或enum
if(b>=0)
^
0_0_14876510_24946\Main.java:74: 错误: 需要class, interface或enum
else
^
0_0_14876510_24946\Main.java:76: 错误: 需要class, interface或enum
}
^
0_0_14876510_24946\Main.java:78: 错误: 需要class, interface或enum
if(a>=0&&b>=0)
^
0_0_14876510_24946\Main.java:81: 错误: 需要class, interface或enum
q1.pop();
^
0_0_14876510_24946\Main.java:83: 错误: 需要class, interface或enum
d temp2=q3.top();
^
0_0_14876510_24946\Main.java:84: 错误: 需要class, interface或enum
q3.pop();
^
0_0_14876510_24946\Main.java:85: 错误: 需要class, interface或enum
if(temp1.id!=temp2.id)
^
0_0_14876510_24946\Main.java:87: 错误: 需要class, interface或enum
else
^
0_0_14876510_24946\Main.java:90: 错误: 需要class, interface或enum
ans=a*temp1.n+b*temp3.n;
^
0_0_14876510_24946\Main.java:92: 错误: 需要class, interface或enum
d temp4=q1.top();
^
0_0_14876510_24946\Main.java:93: 错误: 需要class, interface或enum
ans=max(ans,a*temp4.n+b*temp2.n);
^
0_0_14876510_24946\Main.java:94: 错误: 需要class, interface或enum
}
^
0_0_14876510_24946\Main.java:99: 错误: 需要class, interface或enum
q1.pop();
^
0_0_14876510_24946\Main.java:101: 错误: 需要class, interface或enum
node temp2=q4.top();
^
0_0_14876510_24946\Main.java:102: 错误: 需要class, interface或enum
q4.pop();
^
0_0_14876510_24946\Main.java:103: 错误: 需要class, interface或enum
if(temp1.id!=temp2.id)
^
0_0_14876510_24946\Main.java:105: 错误: 需要class, interface或enum
else
^
0_0_14876510_24946\Main.java:108: 错误: 需要class, interface或enum
ans=a*temp1.n+b*temp3.n;
^
0_0_14876510_24946\Main.java:110: 错误: 需要class, interface或enum
d temp4=q1.top();
^
0_0_14876510_24946\Main.java:111: 错误: 需要class, interface或enum
ans=max(ans,a*temp4.n+b*temp2.n);
^
0_0_14876510_24946\Main.java:112: 错误: 需要class, interface或enum
}
^
0_0_14876510_24946\Main.java:117: 错误: 需要class, interface或enum
q2.pop();
^
0_0_14876510_24946\Main.java:119: 错误: 需要class, interface或enum
d temp2=q3.top();
^
0_0_14876510_24946\Main.java:120: 错误: 需要class, interface或enum
q3.pop();
^
0_0_14876510_24946\Main.java:121: 错误: 需要class, interface或enum
if(temp1.id!=temp2.id)
^
0_0_14876510_24946\Main.java:123: 错误: 需要class, interface或enum
else
^
0_0_14876510_24946\Main.java:126: 错误: 需要class, interface或enum
ans=a*temp1.n+b*temp3.n;
^
0_0_14876510_24946\Main.java:128: 错误: 需要class, interface或enum
node temp4=q2.top();
^
0_0_14876510_24946\Main.java:129: 错误: 需要class, interface或enum
ans=max(ans,a*temp4.n+b*temp2.n);
^
0_0_14876510_24946\Main.java:130: 错误: 需要class, interface或enum
}
^
0_0_14876510_24946\Main.java:135: 错误: 需要class, interface或enum
q2.pop();
^
0_0_14876510_24946\Main.java:137: 错误: 需要class, interface或enum
node temp2=q4.top();
^
0_0_14876510_24946\Main.java:138: 错误: 需要class, interface或enum
q4.pop();
^
0_0_14876510_24946\Main.java:139: 错误: 需要class, interface或enum
if(temp1.id!=temp2.id)
^
0_0_14876510_24946\Main.java:141: 错误: 需要class, interface或enum
else
^
0_0_14876510_24946\Main.java:144: 错误: 需要class, interface或enum
ans=a*temp1.n+b*temp3.n;
^
0_0_14876510_24946\Main.java:146: 错误: 需要class, interface或enum
node temp4=q2.top();
^
0_0_14876510_24946\Main.java:147: 错误: 需要class, interface或enum
ans=max(ans,a*temp4.n+b*temp2.n);
^
0_0_14876510_24946\Main.java:148: 错误: 需要class, interface或enum
}
^
0_0_14876510_24946\Main.java:151: 错误: 需要class, interface或enum
}
^
0_0_14876510_24946\Main.java:156: 错误: 需要class, interface或enum
}
^
88 个错误
|