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_25749588_18849.cpp:23:11: error: unable to find numeric literal operator 'operator""w'
 LL toLeft[50w][MAXN+50];
           ^
0_0_25749588_18849.cpp:23:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_25749588_18849.cpp: In function 'void Build_tree(LL, LL, LL)':
0_0_25749588_18849.cpp:39:13: error: 'toLeft' was not declared in this scope
             toLeft[level][i]=0;
             ^
0_0_25749588_18849.cpp:41:13: error: 'toLeft' was not declared in this scope
             toLeft[level][i]=toLeft[level][i-1];
             ^
0_0_25749588_18849.cpp:43:13: error: 'toLeft' was not declared in this scope
             toLeft[level][i]++,tree[level+1][subLeft++]=tree[level][i];
             ^
0_0_25749588_18849.cpp:45:23: error: 'toLeft' was not declared in this scope
             suppose--,toLeft[level][i]++,tree[level+1][subLeft++]=tree[level][i];
                       ^
0_0_25749588_18849.cpp: In function 'LL Query(LL, LL, LL, LL, LL, LL)':
0_0_25749588_18849.cpp:59:21: error: 'toLeft' was not declared in this scope
         Lef=0,toLef=toLeft[level][qRight];
                     ^
0_0_25749588_18849.cpp:61:13: error: 'toLeft' was not declared in this scope
         Lef=toLeft[level][qLeft-1],toLef=toLeft[level][qRight]-Lef;
             ^
0_0_25749588_18849.cpp: In function 'void init()':
0_0_25749588_18849.cpp:79:12: error: 'toLeft' was not declared in this scope
     memset(toLeft,0,sizeof(toLeft));
            ^


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-29 23:43:58, Gzip enabled