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_11638523_10456.cpp:9: error: a function call cannot appear in a constant-expression
0_0_11638523_10456.cpp:9: error: `>>' should be `> >' within a nested template argument list
0_0_11638523_10456.cpp: In function `std::vector<std::vector<PII, std::allocator<PII> >, std::allocator<std::vector<PII, std::allocator<PII> > > > proc(int*, int*, int)':
0_0_11638523_10456.cpp:10: error: `n' cannot appear in a constant-expression
0_0_11638523_10456.cpp:10: error: a function call cannot appear in a constant-expression
0_0_11638523_10456.cpp:10: error: `>>' should be `> >' within a nested template argument list
0_0_11638523_10456.cpp:13: error: `n' cannot appear in a constant-expression
0_0_11638523_10456.cpp:13: error: a function call cannot appear in a constant-expression
0_0_11638523_10456.cpp:13: error: `>>' should be `> >' within a nested template argument list
0_0_11638523_10456.cpp:17: error: expected primary-expression before "auto"
0_0_11638523_10456.cpp:17: error: expected `;' before "auto"
0_0_11638523_10456.cpp:21: error: expected primary-expression before '}' token
0_0_11638523_10456.cpp:21: error: expected `;' before '}' token
0_0_11638523_10456.cpp:21: error: expected primary-expression before '}' token
0_0_11638523_10456.cpp:21: error: expected `)' before '}' token
0_0_11638523_10456.cpp:21: error: expected primary-expression before '}' token
0_0_11638523_10456.cpp:21: error: expected `;' before '}' token
0_0_11638523_10456.cpp:22: error: expected primary-expression before "auto"
0_0_11638523_10456.cpp:22: error: expected `;' before "auto"
0_0_11638523_10456.cpp:26: error: expected primary-expression before '}' token
0_0_11638523_10456.cpp:26: error: expected `;' before '}' token
0_0_11638523_10456.cpp:26: error: expected primary-expression before '}' token
0_0_11638523_10456.cpp:26: error: expected `)' before '}' token
0_0_11638523_10456.cpp:26: error: expected primary-expression before '}' token
0_0_11638523_10456.cpp:26: error: expected `;' before '}' token
0_0_11638523_10456.cpp: In function `int main()':
0_0_11638523_10456.cpp:51: error: `lft' undeclared (first use this function)
0_0_11638523_10456.cpp:51: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_11638523_10456.cpp:51: error: `std::vector<std::vector<PII, std::allocator<PII> >, std::allocator<std::vector<PII, std::allocator<PII> > > > proc(int*, int*, int)' cannot appear in a constant-expression
0_0_11638523_10456.cpp:51: error: `bit' cannot appear in a constant-expression
0_0_11638523_10456.cpp:51: error: `val' cannot appear in a constant-expression
0_0_11638523_10456.cpp:51: error: `n' cannot appear in a constant-expression
0_0_11638523_10456.cpp:51: error: a function call cannot appear in a constant-expression
0_0_11638523_10456.cpp:51: error: an assignment cannot appear in a constant-expression
0_0_11638523_10456.cpp:51: error: `>>' should be `> >' within a nested template argument list
0_0_11638523_10456.cpp:52: error: `rgh' undeclared (first use this function)
0_0_11638523_10456.cpp:52: error: `std::vector<std::vector<PII, std::allocator<PII> >, std::allocator<std::vector<PII, std::allocator<PII> > > > proc(int*, int*, int)' cannot appear in a constant-expression
0_0_11638523_10456.cpp:52: error: `rbit' cannot appear in a constant-expression
0_0_11638523_10456.cpp:52: error: `rval' cannot appear in a constant-expression
0_0_11638523_10456.cpp:52: error: `n' cannot appear in a constant-expression
0_0_11638523_10456.cpp:52: error: a function call cannot appear in a constant-expression
0_0_11638523_10456.cpp:52: error: an assignment cannot appear in a constant-expression
0_0_11638523_10456.cpp:52: error: `>>' should be `> >' within a nested template argument list
0_0_11638523_10456.cpp:58: error: expected primary-expression before "auto"
0_0_11638523_10456.cpp:58: error: expected `;' before "auto"
0_0_11638523_10456.cpp:59: error: expected primary-expression before "for"
0_0_11638523_10456.cpp:59: error: expected `;' before "for"
0_0_11638523_10456.cpp:59: error: expected primary-expression before "for"
0_0_11638523_10456.cpp:59: error: expected `)' before "for"
0_0_11638523_10456.cpp:59: error: expected primary-expression before "auto"
0_0_11638523_10456.cpp:59: error: expected `;' before "auto"
0_0_11638523_10456.cpp:60: error: could not convert `std::sort [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<PII*, std::vector<PII, std::allocator<PII> > >]((&luse)->std::vector<_Tp, _Alloc>::begin [with _Tp = PII, _Alloc = std::allocator<PII>](), (&luse)->std::vector<_Tp, _Alloc>::end [with _Tp = PII, _Alloc = std::allocator<PII>]())' to `bool'
0_0_11638523_10456.cpp:61: error: expected `)' before ';' token


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-01 11:04:43, Gzip enabled