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_26138262_1038.cpp: In function 'int getsg(int)':
0_0_26138262_1038.cpp:3:2: error: 'set' was not declared in this scope
  set<int>S;
  ^
0_0_26138262_1038.cpp:3:6: error: expected primary-expression before 'int'
  set<int>S;
      ^
0_0_26138262_1038.cpp:4:5: error: 'sg' was not declared in this scope
  if(sg[x]!=-1)return sg[x];
     ^
0_0_26138262_1038.cpp:5:7: error: 'i' was not declared in this scope
  repf(i,1,x){
       ^
0_0_26138262_1038.cpp:5:12: error: 'repf' was not declared in this scope
  repf(i,1,x){
            ^
0_0_26138262_1038.cpp:11:11: error: 'MAX' was not declared in this scope
  repf(i,0,MAX){
           ^


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-09-21 16:39:11, Gzip enabled