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_32389051_9242.cpp: In function 'bool solve()':
0_0_32389051_9242.cpp:23:10: error: expected unqualified-id before numeric constant
  for(int 0;i<n;i++) vis[i] = 0;
          ^
0_0_32389051_9242.cpp:23:10: error: expected ';' before numeric constant
0_0_32389051_9242.cpp:23:12: error: 'i' was not declared in this scope
  for(int 0;i<n;i++) vis[i] = 0;
            ^
0_0_32389051_9242.cpp:23:15: error: expected ')' before ';' token
  for(int 0;i<n;i++) vis[i] = 0;
               ^
0_0_32389051_9242.cpp:23:16: error: 'i' was not declared in this scope
  for(int 0;i<n;i++) vis[i] = 0;
                ^
0_0_32389051_9242.cpp: In function 'int main()':
0_0_32389051_9242.cpp:36:7: error: expected '(' before '!' token
  while!(~scanf("%d %d", &n, &m)){
       ^
0_0_32389051_9242.cpp:36:33: error: expected ')' before '{' token
  while!(~scanf("%d %d", &n, &m)){
                                 ^
0_0_32389051_9242.cpp:44:13: error: 'add' was not declared in this scope
    add(u,v^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-17 10:02:09, Gzip enabled