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_39725819_440\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_39725819_440\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_39725819_440\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_39725819_440\Main.java:3: 错误: 非法字符: '#'
#include <queue>
^
0_0_39725819_440\Main.java:4: 错误: 非法字符: '#'
#include <map>
^
0_0_39725819_440\Main.java:6: 错误: 需要class, interface或enum
int n;
^
0_0_39725819_440\Main.java:7: 错误: 需要class, interface或enum
struct cmp//重定义排序方式
^
0_0_39725819_440\Main.java:12: 错误: 需要class, interface或enum
            else if(left.first==right.first&&left.second>right.second) return true;
            ^
0_0_39725819_440\Main.java:13: 错误: 需要class, interface或enum
            return false;
            ^
0_0_39725819_440\Main.java:14: 错误: 需要class, interface或enum
        }
        ^
0_0_39725819_440\Main.java:16: 错误: 需要class, interface或enum
int main()
^
0_0_39725819_440\Main.java:19: 错误: 需要class, interface或enum
    int dran,pran;
    ^
0_0_39725819_440\Main.java:20: 错误: 需要class, interface或enum
    while(scanf("%d",&n)!=EOF)
    ^
0_0_39725819_440\Main.java:23: 错误: 需要class, interface或enum
        priority_queue<pair<int,int>,vector<pair<int,int> >,cmp> doc2;
        ^
0_0_39725819_440\Main.java:24: 错误: 需要class, interface或enum
        priority_queue<pair<int,int>,vector<pair<int,int> >,cmp> doc3;
        ^
0_0_39725819_440\Main.java:25: 错误: 需要class, interface或enum
        int id=1;
        ^
0_0_39725819_440\Main.java:26: 错误: 需要class, interface或enum
        while(n--)
        ^
0_0_39725819_440\Main.java:29: 错误: 需要class, interface或enum
            if(op[0]=='I')//插入新病人
            ^
0_0_39725819_440\Main.java:32: 错误: 需要class, interface或enum
                pair<int,int> tmp(pran,id++);
                ^
0_0_39725819_440\Main.java:33: 错误: 需要class, interface或enum
                if(dran==1)
                ^
0_0_39725819_440\Main.java:35: 错误: 需要class, interface或enum
                else if(dran==2)
                ^
0_0_39725819_440\Main.java:37: 错误: 需要class, interface或enum
                else if(dran==3)
                ^
0_0_39725819_440\Main.java:39: 错误: 需要class, interface或enum
            }
            ^
0_0_39725819_440\Main.java:43: 错误: 需要class, interface或enum
                if(dran==1)
                ^
0_0_39725819_440\Main.java:47: 错误: 需要class, interface或enum
                    else
                    ^
0_0_39725819_440\Main.java:50: 错误: 需要class, interface或enum
                        doc1.pop();
                        ^
0_0_39725819_440\Main.java:51: 错误: 需要class, interface或enum
                    }
                    ^
0_0_39725819_440\Main.java:57: 错误: 需要class, interface或enum
                    else
                    ^
0_0_39725819_440\Main.java:60: 错误: 需要class, interface或enum
                        doc2.pop();
                        ^
0_0_39725819_440\Main.java:61: 错误: 需要class, interface或enum
                    }
                    ^
0_0_39725819_440\Main.java:67: 错误: 需要class, interface或enum
                    else
                    ^
0_0_39725819_440\Main.java:70: 错误: 需要class, interface或enum
                        doc3.pop();
                        ^
0_0_39725819_440\Main.java:71: 错误: 需要class, interface或enum
                    }
                    ^
0_0_39725819_440\Main.java:77: 错误: 需要class, interface或enum
}
^
34 个错误


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-04 09:32:28, Gzip enabled