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_18427110_18934.cpp:2:4: error: stray '#' in program
  2 #include<cstring>
    ^
0_0_18427110_18934.cpp:3:4: error: stray '#' in program
  3 #include<iostream>
    ^
0_0_18427110_18934.cpp:4:4: error: stray '#' in program
  4 #include<algorithm>
    ^
0_0_18427110_18934.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #include<cstring>
  ^
0_0_18427110_18934.cpp:6:2: error: expected unqualified-id before numeric constant
  6 const int N = (int)3e6+10;
  ^
0_0_18427110_18934.cpp:7:2: error: expected unqualified-id before numeric constant
  7 const int M = (int)1e5+10;
  ^
0_0_18427110_18934.cpp:8:2: error: expected unqualified-id before numeric constant
  8 typedef long long ll;
  ^
0_0_18427110_18934.cpp:9:2: error: expected unqualified-id before numeric constant
  9 int lson[N],rson[N],add[N];
  ^
0_0_18427110_18934.cpp:10:1: error: expected unqualified-id before numeric constant
 10 int Time[N];
 ^
0_0_18427110_18934.cpp:11:1: error: expected unqualified-id before numeric constant
 11 ll sum[N];
 ^
0_0_18427110_18934.cpp:12:1: error: expected unqualified-id before numeric constant
 12 int total;
 ^
0_0_18427110_18934.cpp:13:1: error: expected unqualified-id before numeric constant
 13 void copy(int x,int y){
 ^
0_0_18427110_18934.cpp:19:1: error: expected unqualified-id before numeric constant
 19 inline void pushup(int root){
 ^
0_0_18427110_18934.cpp:22:1: error: expected unqualified-id before numeric constant
 22 int build(int L,int R){
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 21:40:34, Gzip enabled