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_32869922_8952.cpp:1:30: error: stray '#' in program
 <span style="color:#000000;">#include <bits/stdc++.h>
                              ^
0_0_32869922_8952.cpp:1:1: error: expected unqualified-id before '<' token
 <span style="color:#000000;">#include <bits/stdc++.h>
 ^
0_0_32869922_8952.cpp: In member function 'void node::scan()':
0_0_32869922_8952.cpp:16:49: error: 'scanf' was not declared in this scope
  void scan(){ scanf("%d%d%lf%lf", &s, &t, &a, &b); }
                                                 ^
0_0_32869922_8952.cpp: In function 'void update(int, double)':
0_0_32869922_8952.cpp:30:45: error: 'min' was not declared in this scope
  for (; x; x -= x & -x) c[x] = min(c[x], val);
                                             ^
0_0_32869922_8952.cpp: In function 'double query(int)':
0_0_32869922_8952.cpp:36:49: error: 'min' was not declared in this scope
  for (; x <= m; x += x & -x) ret = min(ret, c[x]);
                                                 ^
0_0_32869922_8952.cpp: In function 'bool check(double)':
0_0_32869922_8952.cpp:51:24: error: 'max' was not declared in this scope
     mx = max(mx, a[i].t);
                        ^
0_0_32869922_8952.cpp: In function 'int main()':
0_0_32869922_8952.cpp:79:16: error: 'scanf' was not declared in this scope
  scanf("%d", &T);
                ^
0_0_32869922_8952.cpp:83:24: error: 'sort' was not declared in this scope
   sort(a + 1, a + n + 1);
                        ^
0_0_32869922_8952.cpp:93:21: error: 'printf' was not declared in this scope
   printf("%.3f\n", l);
                     ^
0_0_32869922_8952.cpp: At global scope:
0_0_32869922_8952.cpp:99:1: error: expected unqualified-id before '<' token
 </span>//https://blog.csdn.net/weixin_30824599/article/details/96652950
 ^


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.000000(s) query 1, Server time : 2025-02-17 09:27:00, Gzip enabled