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_21838876_30059\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_21838876_30059\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_21838876_30059\Main.java:2: 错误: 非法字符: '#'
#include<iostream>
^
0_0_21838876_30059\Main.java:3: 错误: 非法字符: '#'
#include<cmath>
^
0_0_21838876_30059\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
0_0_21838876_30059\Main.java:5: 错误: 非法字符: '#'
#include<string>
^
0_0_21838876_30059\Main.java:6: 错误: 非法字符: '#'
#include<vector>
^
0_0_21838876_30059\Main.java:7: 错误: 非法字符: '#'
#include<queue>
^
0_0_21838876_30059\Main.java:8: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_21838876_30059\Main.java:9: 错误: 非法字符: '#'
#define ll long long
^
0_0_21838876_30059\Main.java:10: 错误: 非法字符: '#'
#define MAXN 10000007
^
0_0_21838876_30059\Main.java:14: 错误: 需要class, interface或enum
vector<int> tempnode;
^
0_0_21838876_30059\Main.java:16: 错误: 需要class, interface或enum
struct a
^
0_0_21838876_30059\Main.java:19: 错误: 需要class, interface或enum
} node[MAXN];
^
0_0_21838876_30059\Main.java:23: 错误: 需要class, interface或enum
bool cmp(a k,a m)
^
0_0_21838876_30059\Main.java:26: 错误: 需要class, interface或enum
    if(k.x!=0&&m.x==0) return 1.0*k.y/k.x>0;
    ^
0_0_21838876_30059\Main.java:27: 错误: 需要class, interface或enum
    if(k.x==0&&m.x==0) return 0;
    ^
0_0_21838876_30059\Main.java:29: 错误: 需要class, interface或enum
    double k1=1.0*k.y/k.x;
    ^
0_0_21838876_30059\Main.java:30: 错误: 需要class, interface或enum
    double k2=1.0*m.y/m.x;
    ^
0_0_21838876_30059\Main.java:32: 错误: 需要class, interface或enum
    if(k1>=0&&k2>=0) return k1>k2;
    ^
0_0_21838876_30059\Main.java:33: 错误: 需要class, interface或enum
    if(k1<=0&&k2<=0) return k1<k2;
    ^
0_0_21838876_30059\Main.java:34: 错误: 需要class, interface或enum
    else return k1>=0;
    ^
0_0_21838876_30059\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_21838876_30059\Main.java:42: 错误: 需要class, interface或enum
    scanf("%d",&t);
    ^
0_0_21838876_30059\Main.java:43: 错误: 需要class, interface或enum
    int n;
    ^
0_0_21838876_30059\Main.java:44: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_21838876_30059\Main.java:47: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
        ^
0_0_21838876_30059\Main.java:47: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
                     ^
0_0_21838876_30059\Main.java:47: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
                          ^
0_0_21838876_30059\Main.java:50: 错误: 需要class, interface或enum
        }
        ^
0_0_21838876_30059\Main.java:52: 错误: 需要class, interface或enum
        int sum2=0;
        ^
0_0_21838876_30059\Main.java:53: 错误: 需要class, interface或enum
        int temp=0;
        ^
0_0_21838876_30059\Main.java:54: 错误: 需要class, interface或enum
        sort(node,node+n,cmp);
        ^
0_0_21838876_30059\Main.java:55: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
        ^
0_0_21838876_30059\Main.java:55: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
                     ^
0_0_21838876_30059\Main.java:55: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
                          ^
0_0_21838876_30059\Main.java:58: 错误: 需要class, interface或enum
            else
            ^
0_0_21838876_30059\Main.java:61: 错误: 需要class, interface或enum
                else{
                ^
0_0_21838876_30059\Main.java:63: 错误: 需要class, interface或enum
                    tempnode.push_back(i);
                    ^
0_0_21838876_30059\Main.java:64: 错误: 需要class, interface或enum
                }
                ^
0_0_21838876_30059\Main.java:71: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
        ^
0_0_21838876_30059\Main.java:71: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
                     ^
0_0_21838876_30059\Main.java:71: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
                          ^
0_0_21838876_30059\Main.java:75: 错误: 需要class, interface或enum
            for(int j=0; j<tempnode.size(); j++)
            ^
0_0_21838876_30059\Main.java:75: 错误: 需要class, interface或enum
            for(int j=0; j<tempnode.size(); j++)
                         ^
0_0_21838876_30059\Main.java:75: 错误: 需要class, interface或enum
            for(int j=0; j<tempnode.size(); j++)
                                            ^
0_0_21838876_30059\Main.java:78: 错误: 需要class, interface或enum
            }
            ^
0_0_21838876_30059\Main.java:82: 错误: 需要class, interface或enum
            int cnt=i+1;
            ^
0_0_21838876_30059\Main.java:83: 错误: 需要class, interface或enum
            int count=0;
            ^
0_0_21838876_30059\Main.java:84: 错误: 需要class, interface或enum
            while(node[i].y*node[cnt].x==node[cnt].y*node[i].x&&cnt<n)
            ^
0_0_21838876_30059\Main.java:87: 错误: 需要class, interface或enum
                cnt++;
                ^
0_0_21838876_30059\Main.java:88: 错误: 需要class, interface或enum
            }
            ^
0_0_21838876_30059\Main.java:89: 错误: 需要class, interface或enum
            for(int j=0; j<tempnode.size(); j++)
                         ^
0_0_21838876_30059\Main.java:89: 错误: 需要class, interface或enum
            for(int j=0; j<tempnode.size(); j++)
                                            ^
0_0_21838876_30059\Main.java:92: 错误: 需要class, interface或enum
                count+=node[tempnode[j]].value;
                ^
0_0_21838876_30059\Main.java:93: 错误: 需要class, interface或enum
            }
            ^
0_0_21838876_30059\Main.java:97: 错误: 需要class, interface或enum
        }
        ^
0_0_21838876_30059\Main.java:100: 错误: 需要class, interface或enum
    }
    ^
0_0_21838876_30059\Main.java:103: 错误: 需要class, interface或enum
}
^
59 个错误


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-29 20:37:12, Gzip enabled