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_38706896_26393.c:8:1: error: unknown type name 'using'
    8 | using namespace std;
      | ^~~~~
0_0_38706896_26393.c:8:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    8 | using namespace std;
      |                 ^~~
0_0_38706896_26393.c:41:17: error: expected ';', ',' or ')' before '&' token
   41 | void update(int &k) {
      |                 ^
0_0_38706896_26393.c:48:17: error: expected ';', ',' or ')' before '&' token
   48 | void rotate(int &o,int d) {
      |                 ^
0_0_38706896_26393.c:57:17: error: expected ';', ',' or ')' before '&' token
   57 | void insert(int &root,int key) {
      |                 ^
0_0_38706896_26393.c:73:18: error: expected ';', ',' or ')' before '&' token
   73 | void mergeto(int &roota,int &rootb) {
      |                  ^
0_0_38706896_26393.c:95:19: error: expected ';', ',' or ')' before '&' token
   95 | void del_node(int &root,int o) {
      |                   ^


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-12-02 09:09:40, Gzip enabled