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_30402515_23639.cpp:1:2: error: stray '#' in program
 c#include <bits/stdc++.h>
  ^
0_0_30402515_23639.cpp:1:1: error: 'c' does not name a type
 c#include <bits/stdc++.h>
 ^
0_0_30402515_23639.cpp: In function 'int read()':
0_0_30402515_23639.cpp:16:22: error: 'getchar' was not declared in this scope
     char c = getchar();
                      ^
0_0_30402515_23639.cpp: At global scope:
0_0_30402515_23639.cpp:22:1: error: 'bitset' does not name a type
 bitset <N> vis;
 ^
0_0_30402515_23639.cpp: In function 'void pushup(int)':
0_0_30402515_23639.cpp:30:45: error: 'max' was not declared in this scope
  t[p].maxn = max(t[p<<1].maxn,t[p<<1|1].maxn);
                                             ^
0_0_30402515_23639.cpp: In function 'int query(int, int, int, int)':
0_0_30402515_23639.cpp:69:51: error: 'min' was not declared in this scope
  if(x<=mid&&!flag) ans = min(ans,query(p<<1,x,y,k));
                                                   ^
0_0_30402515_23639.cpp:70:52: error: 'min' was not declared in this scope
  if(y>mid&&!flag) ans = min(ans,query(p<<1|1,x,y,k));
                                                    ^
0_0_30402515_23639.cpp: In function 'int main()':
0_0_30402515_23639.cpp:78:4: error: 'vis' was not declared in this scope
    vis.reset();
    ^
0_0_30402515_23639.cpp:99:23: error: 'printf' was not declared in this scope
      printf("%d\n",ans);
                       ^


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-06-26 13:28:09, Gzip enabled