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_37291156_26926.cpp:6:8: error: 'LL' was not declared in this scope
 vector<LL>a[10];
        ^
0_0_37291156_26926.cpp:6:10: error: template argument 1 is invalid
 vector<LL>a[10];
          ^
0_0_37291156_26926.cpp:6:10: error: template argument 2 is invalid
0_0_37291156_26926.cpp:6:16: error: invalid type in declaration before ';' token
 vector<LL>a[10];
                ^
0_0_37291156_26926.cpp: In function 'int main()':
0_0_37291156_26926.cpp:11:36: error: request for member 'clear' in 'a[i]', which is of non-class type 'int'
         for(int i=0;i<10;i++) a[i].clear();
                                    ^
0_0_37291156_26926.cpp:14:13: error: 'LL' was not declared in this scope
             LL x;
             ^
0_0_37291156_26926.cpp:15:27: error: 'x' was not declared in this scope
             scanf("%lld",&x);
                           ^
0_0_37291156_26926.cpp:18:39: error: request for member 'size' in 'a[i]', which is of non-class type 'int'
         for(int i=0;i<10;i++) if(a[i].size()) sort(a[i].begin(), a[i].end());
                                       ^
0_0_37291156_26926.cpp:18:57: error: request for member 'begin' in 'a[i]', which is of non-class type 'int'
         for(int i=0;i<10;i++) if(a[i].size()) sort(a[i].begin(), a[i].end());
                                                         ^
0_0_37291156_26926.cpp:18:71: error: request for member 'end' in 'a[i]', which is of non-class type 'int'
         for(int i=0;i<10;i++) if(a[i].size()) sort(a[i].begin(), a[i].end());
                                                                       ^
0_0_37291156_26926.cpp:22:22: error: request for member 'size' in 'a[i]', which is of non-class type 'int'
             if(!a[i].size()) continue;
                      ^
0_0_37291156_26926.cpp:23:32: error: request for member 'size' in 'a[i]', which is of non-class type 'int'
             for(int j=0;j<a[i].size();j++)
                                ^
0_0_37291156_26926.cpp:25:30: error: invalid types 'int[int]' for array subscript
                 sum += a[i][j] / 9 - j;
                              ^


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-07-03 07:57:26, Gzip enabled