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_14943747_16972.cpp:39:1: error: 'vector' does not name a type
 vector<int> vec[MAXN];
 ^
0_0_14943747_16972.cpp: In function 'int main()':
0_0_14943747_16972.cpp:68:37: error: 'memset' was not declared in this scope
     memset(ispri,false,sizeof(ispri));
                                     ^
0_0_14943747_16972.cpp:110:5: error: 'vector' was not declared in this scope
     vector<int>::iterator it;
     ^
0_0_14943747_16972.cpp:110:12: error: expected primary-expression before 'int'
     vector<int>::iterator it;
            ^
0_0_14943747_16972.cpp:112:12: error: expected primary-expression before 'int'
     vector<int>::iterator Lit,Rit;
            ^
0_0_14943747_16972.cpp:114:24: error: 'scanf' was not declared in this scope
     while(scanf("%d",&n) != EOF)
                        ^
0_0_14943747_16972.cpp:114:29: error: 'EOF' was not declared in this scope
     while(scanf("%d",&n) != EOF)
                             ^
0_0_14943747_16972.cpp:122:19: error: 'RD' was not declared in this scope
             RD(u,v);
                   ^
0_0_14943747_16972.cpp:128:22: error: 'RD' was not declared in this scope
             RD(seq[i]);
                      ^
0_0_14943747_16972.cpp:144:17: error: 'vec' was not declared in this scope
                 vec[abs(fuck[num[i]][j])].push_back(i);
                 ^
0_0_14943747_16972.cpp:144:40: error: 'abs' was not declared in this scope
                 vec[abs(fuck[num[i]][j])].push_back(i);
                                        ^
0_0_14943747_16972.cpp:145:51: error: 'max' was not declared in this scope
                 Max = max(abs(fuck[num[i]][j]),Max);
                                                   ^
0_0_14943747_16972.cpp:149:33: error: 'printf' was not declared in this scope
         printf("Case #%d:",icase);
                                 ^
0_0_14943747_16972.cpp:178:47: error: 'abs' was not declared in this scope
                 tmp = abs(fuck[num[pos[i]]][j]);
                                               ^
0_0_14943747_16972.cpp:179:17: error: 'Lit' was not declared in this scope
                 Lit = lower_bound(vec[tmp].begin(),vec[tmp].end(),L);
                 ^
0_0_14943747_16972.cpp:179:35: error: 'vec' was not declared in this scope
                 Lit = lower_bound(vec[tmp].begin(),vec[tmp].end(),L);
                                   ^
0_0_14943747_16972.cpp:179:68: error: 'lower_bound' was not declared in this scope
                 Lit = lower_bound(vec[tmp].begin(),vec[tmp].end(),L);
                                                                    ^
0_0_14943747_16972.cpp:180:17: error: 'Rit' was not declared in this scope
                 Rit = upper_bound(vec[tmp].begin(),vec[tmp].end(),R);
                 ^
0_0_14943747_16972.cpp:180:68: error: 'upper_bound' was not declared in this scope
                 Rit = upper_bound(vec[tmp].begin(),vec[tmp].end(),R);
                                                                    ^
0_0_14943747_16972.cpp:191:13: error: 'vec' was not declared in this scope
             vec[i].resize(0);
             ^


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-27 00:40:32, Gzip enabled