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_35525601_25335.cpp:2:7: error: 'LL' does not name a type
 const LL mod = 1e9 + 7;
       ^
0_0_35525601_25335.cpp:10:6: error: 'N' was not declared in this scope
 }sum[N << 2];//线段树主体
      ^
0_0_35525601_25335.cpp:12:1: error: 'vector' does not name a type
 vector<int> v;
 ^
0_0_35525601_25335.cpp:13:8: error: 'N' was not declared in this scope
 int st[N], ol[N], y[N];
        ^
0_0_35525601_25335.cpp:13:15: error: 'N' was not declared in this scope
 int st[N], ol[N], y[N];
               ^
0_0_35525601_25335.cpp:13:21: error: 'N' was not declared in this scope
 int st[N], ol[N], y[N];
                     ^
0_0_35525601_25335.cpp:14:1: error: 'map' does not name a type
 map<int, int>mapp;
 ^
0_0_35525601_25335.cpp: In member function 'void nope::get()':
0_0_35525601_25335.cpp:17:39: error: 'scanf' was not declared in this scope
     void get() { scanf("%d %d", &x, &y); }
                                       ^
0_0_35525601_25335.cpp: At global scope:
0_0_35525601_25335.cpp:21:8: error: 'N' was not declared in this scope
 }point[N];
        ^
0_0_35525601_25335.cpp: In member function 'void Segment__Tree::pushDown(int)':
0_0_35525601_25335.cpp:26:13: error: 'sum' was not declared in this scope
             sum[movel].flag[i] += sum[ans].flag[i];
             ^
0_0_35525601_25335.cpp:26:17: error: 'movel' was not declared in this scope
             sum[movel].flag[i] += sum[ans].flag[i];
                 ^
0_0_35525601_25335.cpp:27:17: error: 'mover' was not declared in this scope
             sum[mover].flag[i] += sum[ans].flag[i];
                 ^
0_0_35525601_25335.cpp: In member function 'void Segment__Tree::build(int, int, int)':
0_0_35525601_25335.cpp:32:9: error: 'sum' was not declared in this scope
         sum[ans].init(0, 0);
         ^
0_0_35525601_25335.cpp:34:27: error: 'st' was not declared in this scope
             sum[ans].init(st[l], ol[l]);
                           ^
0_0_35525601_25335.cpp:34:34: error: 'ol' was not declared in this scope
             sum[ans].init(st[l], ol[l]);
                                  ^
0_0_35525601_25335.cpp:37:19: error: 'getMid' was not declared in this scope
         int mid = getMid;
                   ^
0_0_35525601_25335.cpp:38:15: error: 'lson' was not declared in this scope
         build(lson);
               ^
0_0_35525601_25335.cpp:39:15: error: 'rson' was not declared in this scope
         build(rson);
               ^
0_0_35525601_25335.cpp: In member function 'void Segment__Tree::solve(int, int, int, int&, int&, int)':
0_0_35525601_25335.cpp:43:18: error: 'sum' was not declared in this scope
             mi = sum[ans].flag[0];
                  ^
0_0_35525601_25335.cpp:48:19: error: 'getMid' was not declared in this scope
         int mid = getMid;
                   ^
0_0_35525601_25335.cpp:50:26: error: 'lson' was not declared in this scope
             return solve(lson, mi, mx, pos);
                          ^
0_0_35525601_25335.cpp:50:43: error: return-statement with a value, in function returning 'void' [-fpermissive]
             return solve(lson, mi, mx, pos);
                                           ^
0_0_35525601_25335.cpp:53:26: error: 'rson' was not declared in this scope
             return solve(rson, mi, mx, pos);
                          ^
0_0_35525601_25335.cpp:53:43: error: return-statement with a value, in function returning 'void' [-fpermissive]
             return solve(rson, mi, mx, pos);
                                           ^
0_0_35525601_25335.cpp: In member function 'void Segment__Tree::updata(int, int, int, int, int)':
0_0_35525601_25335.cpp:58:13: error: 'sum' was not declared in this scope
             sum[ans].flag[type] += nums;
             ^
0_0_35525601_25335.cpp:62:19: error: 'getMid' was not declared in this scope
         int mid = getMid;
                   ^
0_0_35525601_25335.cpp:64:20: error: 'lson' was not declared in this scope
             updata(lson, type, nums);
                    ^
0_0_35525601_25335.cpp:67:20: error: 'rson' was not declared in this scope
             updata(rson, type, nums);
                    ^
0_0_35525601_25335.cpp: In function 'int main()':
0_0_35525601_25335.cpp:73:27: error: 'scanf' was not declared in this scope
     while (~scanf("%d", &n) && n) {
                           ^
0_0_35525601_25335.cpp:74:9: error: 'v' was not declared in this scope
         v.clear();
         ^
0_0_35525601_25335.cpp:75:9: error: 'mapp' was not declared in this scope
         mapp.clear();
         ^
0_0_35525601_25335.cpp:78:13: error: 'point' was not declared in this scope
             point[i].get();
             ^
0_0_35525601_25335.cpp:79:13: error: 'y' was not declared in this scope
             y[i] = point[i].y;
             ^
0_0_35525601_25335.cpp:81:14: error: 'y' was not declared in this scope
         sort(y, y + n);
              ^
0_0_35525601_25335.cpp:81:22: error: 'sort' was not declared in this scope
         sort(y, y + n);
                      ^
0_0_35525601_25335.cpp:82:14: error: 'point' was not declared in this scope
         sort(point, point + n);
              ^
0_0_35525601_25335.cpp:86:17: error: 'st' was not declared in this scope
                 st[m] = n - i;//存高于该点y坐标有多少个点
                 ^
0_0_35525601_25335.cpp:88:17: error: 'ol' was not declared in this scope
                 ol[m] = i;//存低于该点y坐标有多少个点
                 ^
0_0_35525601_25335.cpp:92:9: error: 'st' was not declared in this scope
         st[m] = 0;
         ^
0_0_35525601_25335.cpp:115:36: error: 'min' was not declared in this scope
                 mii = min(mii, tmp1);//st的得分
                                    ^
0_0_35525601_25335.cpp:116:36: error: 'max' was not declared in this scope
                 mxx = max(mxx, tmp2);//ol的得分
                                    ^
0_0_35525601_25335.cpp:141:44: error: 'unique' was not declared in this scope
         int len = unique(v.begin(), v.end()) - v.begin();
                                            ^
0_0_35525601_25335.cpp:142:38: error: 'printf' was not declared in this scope
         printf("Stan: %d; Ollie:", mi);
                                      ^


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-28 22:16:33, Gzip enabled