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_14984149_5587\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_14984149_5587\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_14984149_5587\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_14984149_5587\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_14984149_5587\Main.java:4: 错误: 非法字符: '#'
#include <string>
^
0_0_14984149_5587\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_14984149_5587\Main.java:6: 错误: 非法字符: '#'
#include <cmath>
^
0_0_14984149_5587\Main.java:7: 错误: 非法字符: '#'
#include <vector>
^
0_0_14984149_5587\Main.java:8: 错误: 非法字符: '#'
#include <set>
^
0_0_14984149_5587\Main.java:9: 错误: 非法字符: '#'
#include <map>
^
0_0_14984149_5587\Main.java:10: 错误: 非法字符: '#'
#include <stack>
^
0_0_14984149_5587\Main.java:11: 错误: 非法字符: '#'
#include <queue>
^
0_0_14984149_5587\Main.java:14: 错误: 需要class, interface或enum
const int maxind = 1000000;
^
0_0_14984149_5587\Main.java:15: 错误: 需要class, interface或enum
set<int> segTree[maxind * 3 + 10];
^
0_0_14984149_5587\Main.java:16: 错误: 需要class, interface或enum
int ar[maxind];
^
0_0_14984149_5587\Main.java:17: 错误: 需要class, interface或enum
int change[maxind * 3 + 10];
^
0_0_14984149_5587\Main.java:19: 错误: 需要class, interface或enum
void build(int node, int be, int ed)
^
0_0_14984149_5587\Main.java:22: 错误: 需要class, interface或enum
    change[node]=0;
    ^
0_0_14984149_5587\Main.java:23: 错误: 需要class, interface或enum
    if (be == ed)
    ^
0_0_14984149_5587\Main.java:25: 错误: 需要class, interface或enum
    else
    ^
0_0_14984149_5587\Main.java:29: 错误: 需要class, interface或enum
        build(2*node+1, (be+ed)/2+1, ed);
        ^
0_0_14984149_5587\Main.java:32: 错误: 需要class, interface或enum
        segTree[node].insert(segTree[2*node].begin(),segTree[2*node].end());
        ^
0_0_14984149_5587\Main.java:33: 错误: 需要class, interface或enum
        segTree[node].insert(segTree[2*node+1].begin(),segTree[2*node+1].end());
        ^
0_0_14984149_5587\Main.java:34: 错误: 需要class, interface或enum
    }
    ^
0_0_14984149_5587\Main.java:51: 错误: 需要class, interface或enum
     segTree[o].insert(segTree[o<<1].begin(),segTree[o<<1].end());
     ^
0_0_14984149_5587\Main.java:52: 错误: 需要class, interface或enum
     segTree[o].insert(segTree[o<<1|1].begin(),segTree[o<<1|1].end());
     ^
0_0_14984149_5587\Main.java:53: 错误: 需要class, interface或enum
 }
 ^
0_0_14984149_5587\Main.java:58: 错误: 需要class, interface或enum
         change[o<<1]=c;
         ^
0_0_14984149_5587\Main.java:59: 错误: 需要class, interface或enum
         change[o<<1|1]=c;
         ^
0_0_14984149_5587\Main.java:60: 错误: 需要class, interface或enum
              segTree[o<<1].clear();
              ^
0_0_14984149_5587\Main.java:61: 错误: 需要class, interface或enum
         segTree[o<<1].insert(c);
         ^
0_0_14984149_5587\Main.java:62: 错误: 需要class, interface或enum
         segTree[o<<1|1].clear();
         ^
0_0_14984149_5587\Main.java:63: 错误: 需要class, interface或enum
         segTree[o<<1|1].insert(c);
         ^
0_0_14984149_5587\Main.java:64: 错误: 需要class, interface或enum
         change[o]=0;
         ^
0_0_14984149_5587\Main.java:65: 错误: 需要class, interface或enum
     }
     ^
0_0_14984149_5587\Main.java:71: 错误: 需要class, interface或enum
         segTree[o].clear();
         ^
0_0_14984149_5587\Main.java:72: 错误: 需要class, interface或enum
         segTree[o].insert(c);
         ^
0_0_14984149_5587\Main.java:73: 错误: 需要class, interface或enum
         return;
         ^
0_0_14984149_5587\Main.java:74: 错误: 需要class, interface或enum
     }
     ^
0_0_14984149_5587\Main.java:76: 错误: 需要class, interface或enum
     int m=l+((r-l)>>1);
     ^
0_0_14984149_5587\Main.java:77: 错误: 需要class, interface或enum
     if(ql<=m)update(o<<1,l,m,ql,qr,c);
     ^
0_0_14984149_5587\Main.java:78: 错误: 需要class, interface或enum
     if(qr>=m+1)update(o<<1|1,m+1,r,ql,qr,c);
     ^
0_0_14984149_5587\Main.java:79: 错误: 需要class, interface或enum
     pushup(o);
     ^
0_0_14984149_5587\Main.java:80: 错误: 需要class, interface或enum
 }
 ^
0_0_14984149_5587\Main.java:84: 错误: 需要class, interface或enum
     pushdown(o,l,r);
     ^
0_0_14984149_5587\Main.java:85: 错误: 需要class, interface或enum
     int m=l+((r-l)>>1);
     ^
0_0_14984149_5587\Main.java:86: 错误: 需要class, interface或enum
     set<int> ans,x,y;
     ^
0_0_14984149_5587\Main.java:87: 错误: 需要class, interface或enum
      if(!x.empty())x.clear();
      ^
0_0_14984149_5587\Main.java:88: 错误: 需要class, interface或enum
       if(!y.empty())y.clear();
       ^
0_0_14984149_5587\Main.java:89: 错误: 需要class, interface或enum
     if(ql<=m)x=query(o<<1,l,m,ql,qr);
     ^
0_0_14984149_5587\Main.java:90: 错误: 需要class, interface或enum
     if(qr>=m+1)y=query(o<<1|1,m+1,r,ql,qr);
     ^
0_0_14984149_5587\Main.java:91: 错误: 需要class, interface或enum
     if(!ans.empty())ans.clear();
     ^
0_0_14984149_5587\Main.java:92: 错误: 需要class, interface或enum
     ans.insert(x.begin(),x.end());
     ^
0_0_14984149_5587\Main.java:93: 错误: 需要class, interface或enum
     ans.insert(y.begin(),y.end());
     ^
0_0_14984149_5587\Main.java:94: 错误: 需要class, interface或enum
     return ans;
     ^
0_0_14984149_5587\Main.java:95: 错误: 需要class, interface或enum
 }
 ^
0_0_14984149_5587\Main.java:98: 错误: 需要class, interface或enum
int main()
^
0_0_14984149_5587\Main.java:101: 错误: 需要class, interface或enum
     char x;
     ^
0_0_14984149_5587\Main.java:102: 错误: 需要class, interface或enum
     set<int>::iterator it;
     ^
0_0_14984149_5587\Main.java:103: 错误: 需要class, interface或enum
     while(scanf("%d%d",&n,&m)!=EOF)
     ^
0_0_14984149_5587\Main.java:107: 错误: 需要class, interface或enum
         for(i=1;i<=n;i++) ar[i]=2;
         ^
0_0_14984149_5587\Main.java:107: 错误: 需要class, interface或enum
         for(i=1;i<=n;i++) ar[i]=2;
                 ^
0_0_14984149_5587\Main.java:107: 错误: 需要class, interface或enum
         for(i=1;i<=n;i++) ar[i]=2;
                      ^
0_0_14984149_5587\Main.java:108: 错误: 需要class, interface或enum
         build(1,1,n);
         ^
0_0_14984149_5587\Main.java:109: 错误: 需要class, interface或enum
         for(i=0;i<m;i++)
         ^
0_0_14984149_5587\Main.java:109: 错误: 需要class, interface或enum
         for(i=0;i<m;i++)
                 ^
0_0_14984149_5587\Main.java:109: 错误: 需要class, interface或enum
         for(i=0;i<m;i++)
                     ^
0_0_14984149_5587\Main.java:112: 错误: 需要class, interface或enum
            if(x=='P')
            ^
0_0_14984149_5587\Main.java:115: 错误: 需要class, interface或enum
                update(1,1,n,a,b,c);
                ^
0_0_14984149_5587\Main.java:117: 错误: 需要class, interface或enum
            }
            ^
0_0_14984149_5587\Main.java:121: 错误: 需要class, interface或enum
                s=query(1,1,n,a,b);
                ^
0_0_14984149_5587\Main.java:124: 错误: 需要class, interface或enum
                for(it=s.begin();it!=s.end();it++)
                ^
0_0_14984149_5587\Main.java:124: 错误: 需要class, interface或enum
                for(it=s.begin();it!=s.end();it++)
                                 ^
0_0_14984149_5587\Main.java:124: 错误: 需要class, interface或enum
                for(it=s.begin();it!=s.end();it++)
                                             ^
0_0_14984149_5587\Main.java:126: 错误: 需要class, interface或enum
                    printf("%d ",c);
                    ^
0_0_14984149_5587\Main.java:127: 错误: 需要class, interface或enum
                }
                ^
0_0_14984149_5587\Main.java:129: 错误: 需要class, interface或enum
            }
            ^
0_0_14984149_5587\Main.java:134: 错误: 需要class, interface或enum
}
^
78 个错误


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-05 12:18:48, Gzip enabled