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_32286591_25262.cpp:5:3: error: stray '\342' in program
   dfs(i,S∩A[i],sym*-1);
   ^
0_0_32286591_25262.cpp:5:3: error: stray '\210' in program
0_0_32286591_25262.cpp:5:3: error: stray '\251' in program
0_0_32286591_25262.cpp:1:14: error: 'set' has not been declared
 dfs (int beg,set S,int sym)
              ^
0_0_32286591_25262.cpp: In function 'int dfs(int, int, int)':
0_0_32286591_25262.cpp:3:2: error: 'ans' was not declared in this scope
  ans+=num(S)*sym;
  ^
0_0_32286591_25262.cpp:3:12: error: 'num' was not declared in this scope
  ans+=num(S)*sym;
            ^
0_0_32286591_25262.cpp:4:20: error: 'n' was not declared in this scope
  for (int i=beg;i<=n;i++)
                    ^
0_0_32286591_25262.cpp:5:13: error: expected ')' before 'A'
   dfs(i,S∩A[i],sym*-1);
             ^
0_0_32286591_25262.cpp: At global scope:
0_0_32286591_25262.cpp:7:1: error: expected unqualified-id before 'for'
 for (int i=1;i<=n;i++)
 ^
0_0_32286591_25262.cpp:7:14: error: 'i' does not name a type
 for (int i=1;i<=n;i++)
              ^
0_0_32286591_25262.cpp:7:19: error: 'i' does not name a type
 for (int i=1;i<=n;i++)
                   ^


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-01-10 17:04:14, Gzip enabled