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_6767033_1917\Main.java:1: illegal character: \35
#include <stdio.h>
^
0_0_6767033_1917\Main.java:2: illegal character: \35
 #include <algorithm>
 ^
0_0_6767033_1917\Main.java:3: illegal character: \35
 #include <vector>
 ^
0_0_6767033_1917\Main.java:5: class, interface, or enum expected
 vector<int> vc;
 ^
0_0_6767033_1917\Main.java:6: class, interface, or enum expected
 vector<int>::iterator it;
 ^
0_0_6767033_1917\Main.java:7: class, interface, or enum expected
 int n,x;
 ^
0_0_6767033_1917\Main.java:8: class, interface, or enum expected
 int main(){
 ^
0_0_6767033_1917\Main.java:11: class, interface, or enum expected
         for(int i=1;i<=n;i++){
         ^
0_0_6767033_1917\Main.java:11: class, interface, or enum expected
         for(int i=1;i<=n;i++){
                     ^
0_0_6767033_1917\Main.java:11: class, interface, or enum expected
         for(int i=1;i<=n;i++){
                          ^
0_0_6767033_1917\Main.java:13: class, interface, or enum expected
             vc.push_back(x);
             ^
0_0_6767033_1917\Main.java:14: class, interface, or enum expected
         }
         ^
0_0_6767033_1917\Main.java:16: class, interface, or enum expected
         bool flag=1,i;
         ^
0_0_6767033_1917\Main.java:17: class, interface, or enum expected
         while(flag&&!vc.empty()){
         ^
0_0_6767033_1917\Main.java:18: class, interface, or enum expected
             int x=*vc.begin();flag=0;
                               ^
0_0_6767033_1917\Main.java:19: class, interface, or enum expected
             vc.erase(vc.begin());
             ^
0_0_6767033_1917\Main.java:20: class, interface, or enum expected
             for(it=vc.begin(),i=1;!flag&&it!=vc.end()&&i<=5;it++,i++)
             ^
0_0_6767033_1917\Main.java:20: class, interface, or enum expected
             for(it=vc.begin(),i=1;!flag&&it!=vc.end()&&i<=5;it++,i++)
                                   ^
0_0_6767033_1917\Main.java:20: class, interface, or enum expected
             for(it=vc.begin(),i=1;!flag&&it!=vc.end()&&i<=5;it++,i++)
                                                             ^
0_0_6767033_1917\Main.java:22: class, interface, or enum expected
         }
         ^
0_0_6767033_1917\Main.java:24: class, interface, or enum expected
     }
     ^
0_0_6767033_1917\Main.java:26: class, interface, or enum expected
 }


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-02 13:08:32, Gzip enabled