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_34136171_6692.cpp: In member function 'bool segment_tree_beats<T>::tag_condition(int, T)':
0_0_34136171_6692.cpp:108:37: error: parse error in template argument list
             case CHMAX: return a[i].min < g and g < a[i].min_second;
                                     ^
0_0_34136171_6692.cpp: In member function 'void segment_tree_beats<T>::pushdown(int)':
0_0_34136171_6692.cpp:194:29: error: use of 'this' in a constant expression
         if (a[i].max < a[l].max) {
                             ^
0_0_34136171_6692.cpp:194:18: error: parse error in template argument list
         if (a[i].max < a[l].max) {
                  ^
0_0_34136171_6692.cpp:197:29: error: use of 'this' in a constant expression
         if (a[i].max < a[r].max) {
                             ^
0_0_34136171_6692.cpp:197:18: error: parse error in template argument list
         if (a[i].max < a[r].max) {
                  ^
0_0_34136171_6692.cpp:201:29: error: use of 'this' in a constant expression
         if (a[l].min < a[i].min) {
                             ^
0_0_34136171_6692.cpp:201:18: error: parse error in template argument list
         if (a[l].min < a[i].min) {
                  ^
0_0_34136171_6692.cpp:204:29: error: use of 'this' in a constant expression
         if (a[r].min < a[i].min) {
                             ^
0_0_34136171_6692.cpp:204:18: error: parse error in template argument list
         if (a[r].min < a[i].min) {
                  ^
0_0_34136171_6692.cpp: In instantiation of 'bool segment_tree_beats<T>::tag_condition(int, T) [with char TYPE = '\000'; T = int]':
0_0_34136171_6692.cpp:85:57:   required from 'void segment_tree_beats<T>::range_apply(int, int, int, int, int, T) [with char TYPE = '\000'; T = int]'
0_0_34136171_6692.cpp:43:20:   required from 'void segment_tree_beats<T>::range_chmin(int, int, T) [with T = int]'
0_0_34136171_6692.cpp:294:46:   required from here
0_0_34136171_6692.cpp:108:37: error: 'min' is not a member template function
             case CHMAX: return a[i].min < g and g < a[i].min_second;
                                     ^
0_0_34136171_6692.cpp: In instantiation of 'void segment_tree_beats<T>::pushdown(int) [with T = int]':
0_0_34136171_6692.cpp:88:23:   required from 'void segment_tree_beats<T>::range_apply(int, int, int, int, int, T) [with char TYPE = '\000'; T = int]'
0_0_34136171_6692.cpp:43:20:   required from 'void segment_tree_beats<T>::range_chmin(int, int, T) [with T = int]'
0_0_34136171_6692.cpp:294:46:   required from here
0_0_34136171_6692.cpp:194:9: error: 'max' is not a member template function
         if (a[i].max < a[l].max) {
         ^
0_0_34136171_6692.cpp:197:9: error: 'max' is not a member template function
         if (a[i].max < a[r].max) {
         ^
0_0_34136171_6692.cpp:201:9: error: 'min' is not a member template function
         if (a[l].min < a[i].min) {
         ^
0_0_34136171_6692.cpp:204:9: error: 'min' is not a member template function
         if (a[r].min < a[i].min) {
         ^


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-07 05:53:48, Gzip enabled