0_0_39078410_22974\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_39078410_22974\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_39078410_22974\Main.java:2: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_39078410_22974\Main.java:3: 错误: 非法字符: '#'
#include <cmath>
^
0_0_39078410_22974\Main.java:6: 错误: 非法字符: '#'
#define MAX 10000
^
0_0_39078410_22974\Main.java:6: 错误: 需要class, interface或enum
#define MAX 10000
^
0_0_39078410_22974\Main.java:7: 错误: 非法字符: '#'
#define INF 1000000
^
0_0_39078410_22974\Main.java:8: 错误: 非法字符: '#'
#define ESP 1e-6
^
0_0_39078410_22974\Main.java:12: 错误: 需要class, interface或enum
double k,b;
^
0_0_39078410_22974\Main.java:13: 错误: 需要class, interface或enum
}buffer[MAX];
^
0_0_39078410_22974\Main.java:15: 错误: 需要class, interface或enum
inline bool dcmp( double a, double b ){
^
0_0_39078410_22974\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:25: 错误: 需要class, interface或enum
a = b;
^
0_0_39078410_22974\Main.java:26: 错误: 需要class, interface或enum
b = t;
^
0_0_39078410_22974\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:31: 错误: 需要class, interface或enum
if( !dcmp(a.b,b.b) ) return a.b<b.b;
^
0_0_39078410_22974\Main.java:32: 错误: 需要class, interface或enum
if( !dcmp(a.x1,b.x1) ) return a.x1<b.x1;
^
0_0_39078410_22974\Main.java:33: 错误: 需要class, interface或enum
if( !dcmp(a.y1,b.y1) ) return a.y1<b.y1;
^
0_0_39078410_22974\Main.java:34: 错误: 需要class, interface或enum
if( !dcmp(a.x2,b.x2) ) return a.x2<b.x2;
^
0_0_39078410_22974\Main.java:35: 错误: 需要class, interface或enum
return a.y2<b.y2;
^
0_0_39078410_22974\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:41: 错误: 需要class, interface或enum
else return dcmp(a.x2,b.x1) || a.x2>b.x1;
^
0_0_39078410_22974\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:48: 错误: 需要class, interface或enum
while( cin>>n && n ){
^
0_0_39078410_22974\Main.java:50: 错误: 需要class, interface或enum
for( int i=0 ; i<n ; i++ ){
^
0_0_39078410_22974\Main.java:50: 错误: 需要class, interface或enum
for( int i=0 ; i<n ; i++ ){
^
0_0_39078410_22974\Main.java:50: 错误: 需要class, interface或enum
for( int i=0 ; i<n ; i++ ){
^
0_0_39078410_22974\Main.java:52: 错误: 需要class, interface或enum
bool flag = dcmp(buffer[i].x1,buffer[i].x2);
^
0_0_39078410_22974\Main.java:53: 错误: 需要class, interface或enum
if( flag && buffer[i].y1>buffer[i].y2 ) swap(buffer[i].y1,buffer[i].y2);
^
0_0_39078410_22974\Main.java:54: 错误: 需要class, interface或enum
else if( !flag && buffer[i].x1>buffer[i].x2 ){
^
0_0_39078410_22974\Main.java:56: 错误: 需要class, interface或enum
swap(buffer[i].y1,buffer[i].y2);
^
0_0_39078410_22974\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:59: 错误: 需要class, interface或enum
buffer[i].b = flag ? buffer[i].x1 : buffer[i].y1-buffer[i].k*buffer[i].x1;
^
0_0_39078410_22974\Main.java:60: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:62: 错误: 需要class, interface或enum
for( int i=0 ; i<n-1 ; i++ ){
^
0_0_39078410_22974\Main.java:62: 错误: 需要class, interface或enum
for( int i=0 ; i<n-1 ; i++ ){
^
0_0_39078410_22974\Main.java:62: 错误: 需要class, interface或enum
for( int i=0 ; i<n-1 ; i++ ){
^
0_0_39078410_22974\Main.java:65: 错误: 需要class, interface或enum
if( dcmp(buffer[i].k,INF) ) buffer[i+1].y2 = max(buffer[i].y2,buffer[i+1].y2);
^
0_0_39078410_22974\Main.java:66: 错误: 需要class, interface或enum
else
^
0_0_39078410_22974\Main.java:68: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_39078410_22974\Main.java:73: 错误: 需要class, interface或enum
}
^
44 个错误
|