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_28916353_29337.cpp:5:12: error: 'longlong' was not declared in this scope
 #define ll longlong
            ^
0_0_28916353_29337.cpp:6:8: note: in expansion of macro 'll'
 vector<ll> vt;
        ^
0_0_28916353_29337.cpp:6:10: error: template argument 1 is invalid
 vector<ll> vt;
          ^
0_0_28916353_29337.cpp:6:10: error: template argument 2 is invalid
0_0_28916353_29337.cpp:6:14: error: invalid type in declaration before ';' token
 vector<ll> vt;
              ^
0_0_28916353_29337.cpp: In function 'int main()':
0_0_28916353_29337.cpp:5:12: error: 'longlong' was not declared in this scope
 #define ll longlong
            ^
0_0_28916353_29337.cpp:9:2: note: in expansion of macro 'll'
  ll n,m,x,i,l;
  ^
0_0_28916353_29337.cpp:10:7: error: 'n' was not declared in this scope
  cin>>n;
       ^
0_0_28916353_29337.cpp:13:3: error: 'l' was not declared in this scope
   l=0;
   ^
0_0_28916353_29337.cpp:14:8: error: 'm' was not declared in this scope
   cin>>m;
        ^
0_0_28916353_29337.cpp:15:6: error: request for member 'clear' in 'vt', which is of non-class type 'int'
   vt.clear();
      ^
0_0_28916353_29337.cpp:18:9: error: 'x' was not declared in this scope
    cin>>x;
         ^
0_0_28916353_29337.cpp:19:7: error: request for member 'push_back' in 'vt', which is of non-class type 'int'
    vt.push_back(x);
       ^
0_0_28916353_29337.cpp:21:11: error: request for member 'begin' in 'vt', which is of non-class type 'int'
   sort(vt.begin(),vt.end());
           ^
0_0_28916353_29337.cpp:21:22: error: request for member 'end' in 'vt', which is of non-class type 'int'
   sort(vt.begin(),vt.end());
                      ^
0_0_28916353_29337.cpp:22:7: error: 'i' was not declared in this scope
   for(i=0;i<vt.size()-1;i++)
       ^
0_0_28916353_29337.cpp:22:16: error: request for member 'size' in 'vt', which is of non-class type 'int'
   for(i=0;i<vt.size()-1;i++)
                ^
0_0_28916353_29337.cpp:26:16: error: request for member 'size' in 'vt', which is of non-class type 'int'
   if(l+1<vt[vt.size()-1]) cout<<"No"<<endl;
                ^


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-10-05 05:08:25, Gzip enabled