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_36617635_23675.cpp: In member function 'int data_structure::SegmentTree<ValueType, ValueMerge, TagType, TagMerge, TagSpread>::FindFirst(int, const Checker&)':
0_0_36617635_23675.cpp:563:56: error: expected ')' before ';' token
       if (ValueType tmp = value_merge(cur, value[left]); !check(tmp))
                                                        ^
0_0_36617635_23675.cpp:563:65: error: 'tmp' was not declared in this scope
       if (ValueType tmp = value_merge(cur, value[left]); !check(tmp))
                                                                 ^
0_0_36617635_23675.cpp:563:69: error: expected ';' before ')' token
       if (ValueType tmp = value_merge(cur, value[left]); !check(tmp))
                                                                     ^
0_0_36617635_23675.cpp: In member function 'int data_structure::SegmentTree<ValueType, ValueMerge, TagType, TagMerge, TagSpread>::FindLast(int, const Checker&)':
0_0_36617635_23675.cpp:594:57: error: expected ')' before ';' token
       if (ValueType tmp = value_merge(value[right], cur); !check(tmp))
                                                         ^
0_0_36617635_23675.cpp:594:66: error: 'tmp' was not declared in this scope
       if (ValueType tmp = value_merge(value[right], cur); !check(tmp))
                                                                  ^
0_0_36617635_23675.cpp:594:70: error: expected ';' before ')' token
       if (ValueType tmp = value_merge(value[right], cur); !check(tmp))
                                                                      ^
0_0_36617635_23675.cpp: In constructor 'data_structure::SparseTable<ValueType, Operation>::SparseTable(InputIt, InputIt, const Operation&)':
0_0_36617635_23675.cpp:637:36: error: expected ')' before ';' token
      if (int j = i + (1 << (k - 1)); j < size)
                                    ^
0_0_36617635_23675.cpp:637:38: error: 'j' was not declared in this scope
      if (int j = i + (1 << (k - 1)); j < size)
                                      ^


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-25 15:34:36, Gzip enabled