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_37836254_14072.cpp:189:1: error: missing terminating ' character
 constexpr int MAXN = 10'0005;
 ^
0_0_37836254_14072.cpp: In member function 'char FIO::FastIO<NORMAL, INTERACTIVE, SIZE>::nextchar()':
0_0_37836254_14072.cpp:44:16: error: expected '(' before 'constexpr'
             if constexpr(!NORMAL && !INTERACTIVE)
                ^
0_0_37836254_14072.cpp:46:13: error: 'else' without a previous 'if'
             else
             ^
0_0_37836254_14072.cpp: In member function 'FIO::FastIO<NORMAL, INTERACTIVE, SIZE>& FIO::FastIO<NORMAL, INTERACTIVE, SIZE>::operator>>(T&)':
0_0_37836254_14072.cpp:58:16: error: expected '(' before 'constexpr'
             if constexpr(INTERACTIVE)
                ^
0_0_37836254_14072.cpp: In member function 'FIO::FastIO<NORMAL, INTERACTIVE, SIZE>& FIO::FastIO<NORMAL, INTERACTIVE, SIZE>::operator>>(char&)':
0_0_37836254_14072.cpp:77:16: error: expected '(' before 'constexpr'
             if constexpr(INTERACTIVE)
                ^
0_0_37836254_14072.cpp: In member function 'FIO::FastIO<NORMAL, INTERACTIVE, SIZE>& FIO::FastIO<NORMAL, INTERACTIVE, SIZE>::operator>>(char*)':
0_0_37836254_14072.cpp:85:16: error: expected '(' before 'constexpr'
             if constexpr(INTERACTIVE)
                ^
0_0_37836254_14072.cpp: In member function 'FIO::FastIO<NORMAL, INTERACTIVE, SIZE>& FIO::FastIO<NORMAL, INTERACTIVE, SIZE>::operator>>(std::vector<char>&)':
0_0_37836254_14072.cpp:97:16: error: expected '(' before 'constexpr'
             if constexpr(INTERACTIVE)
                ^
0_0_37836254_14072.cpp: In member function 'unsigned int FIO::FastIO<NORMAL, INTERACTIVE, SIZE>::getline(char*)':
0_0_37836254_14072.cpp:158:16: error: expected '(' before 'constexpr'
             if constexpr(INTERACTIVE)
                ^
0_0_37836254_14072.cpp: In member function 'unsigned int FIO::FastIO<NORMAL, INTERACTIVE, SIZE>::getline(std::vector<char>&)':
0_0_37836254_14072.cpp:170:16: error: expected '(' before 'constexpr'
             if constexpr(INTERACTIVE)
                ^
0_0_37836254_14072.cpp: At global scope:
0_0_37836254_14072.cpp:187:1: error: invalid use of template-name 'FIO::FastIO' without an argument list
 FastIO fio;
 ^
0_0_37836254_14072.cpp:190:1: error: expected ',' or ';' before 'constexpr'
 constexpr int MAXM = (MAXN - 5) * 400 + 5;
 ^
0_0_37836254_14072.cpp:196:18: error: 'MAXM' was not declared in this scope
 int rt[MAXN], ls[MAXM], rs[MAXM], tr[MAXM], cnt = 0;
                  ^
0_0_37836254_14072.cpp:196:28: error: 'MAXM' was not declared in this scope
 int rt[MAXN], ls[MAXM], rs[MAXM], tr[MAXM], cnt = 0;
                            ^
0_0_37836254_14072.cpp:196:38: error: 'MAXM' was not declared in this scope
 int rt[MAXN], ls[MAXM], rs[MAXM], tr[MAXM], cnt = 0;
                                      ^
0_0_37836254_14072.cpp: In function 'void update(cti)':
0_0_37836254_14072.cpp:198:5: error: 'tr' was not declared in this scope
     tr[now] = max(tr[ls[now]], tr[rs[now]]);
     ^
0_0_37836254_14072.cpp:198:22: error: 'ls' was not declared in this scope
     tr[now] = max(tr[ls[now]], tr[rs[now]]);
                      ^
0_0_37836254_14072.cpp:198:35: error: 'rs' was not declared in this scope
     tr[now] = max(tr[ls[now]], tr[rs[now]]);
                                   ^
0_0_37836254_14072.cpp: In function 'void tins(int&, cti, cti, cti)':
0_0_37836254_14072.cpp:204:9: error: 'tr' was not declared in this scope
         tr[now] = x;
         ^
0_0_37836254_14072.cpp:209:14: error: 'ls' was not declared in this scope
         tins(ls[now], l, mid, x);
              ^
0_0_37836254_14072.cpp:211:14: error: 'rs' was not declared in this scope
         tins(rs[now], mid + 1, r, x);
              ^
0_0_37836254_14072.cpp: In function 'int tmerge(cti, cti, int&, cti, cti)':
0_0_37836254_14072.cpp:218:8: error: 'tr' was not declared in this scope
     if(tr[now] == tr[pre]) {
        ^
0_0_37836254_14072.cpp:223:8: error: 'ls' was not declared in this scope
     if(ls[now] || ls[pre])
        ^
0_0_37836254_14072.cpp:225:8: error: 'rs' was not declared in this scope
     if(rs[now] || rs[pre])
        ^
0_0_37836254_14072.cpp: In function 'int main()':
0_0_37836254_14072.cpp:244:5: error: 'fio' was not declared in this scope
     fio >> n;
     ^


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-23 05:20:24, Gzip enabled