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_37795407_21363.cpp: In function 'void work()':
0_0_37795407_21363.cpp:214:19: error: expected primary-expression before '(' token
  odt.insert(Node_t(1,n,0
                   ^
0_0_37795407_21363.cpp:67:12: error: expected ')' before 'long'
 #define ll long long
            ^
0_0_37795407_21363.cpp:79:13: note: in expansion of macro 'll'
 #define int ll
             ^
0_0_37795407_21363.cpp:216:2: note: in expansion of macro 'int'
  int last=0;
  ^
0_0_37795407_21363.cpp:224:13: error: 'last' was not declared in this scope
    x=((x-1)^last)%n+1;
             ^
0_0_37795407_21363.cpp:232:13: error: 'last' was not declared in this scope
    x=((x-1)^last)%n+1;
             ^
0_0_37795407_21363.cpp:240:13: error: 'last' was not declared in this scope
    x=((x-1)^last)%n+1;
             ^
0_0_37795407_21363.cpp:247:13: error: 'last' was not declared in this scope
    x=((x-1)^last)%n+1;
             ^


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-23 06:19:22, Gzip enabled