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_16210245_9281.cpp:1:30: error: stray '#' in program
 <span style="color:#333333;">#include <iostream>
                              ^
0_0_16210245_9281.cpp:1:1: error: expected unqualified-id before '<' token
 <span style="color:#333333;">#include <iostream>
 ^
0_0_16210245_9281.cpp:7:1: error: 'vector' does not name a type
 vector<int>mat[30];
 ^
0_0_16210245_9281.cpp: In function 'void dfs(int)':
0_0_16210245_9281.cpp:13:15: error: 'mat' was not declared in this scope
     for(i=0;i<mat[s].size();i++)
               ^
0_0_16210245_9281.cpp: In function 'int main()':
0_0_16210245_9281.cpp:28:5: error: 'cin' was not declared in this scope
     cin>>t;
     ^
0_0_16210245_9281.cpp:33:9: error: 'mat' was not declared in this scope
         mat[i].clear();
         ^
0_0_16210245_9281.cpp:42:10: error: 'mat' was not declared in this scope
          mat[a].push_back(b);
          ^
0_0_16210245_9281.cpp:61:11: error: 'cout' was not declared in this scope
           cout<<"The door cannot be opened.\n";
           ^
0_0_16210245_9281.cpp:74:15: error: 'cout' was not declared in this scope
       if(sign)cout<<"Ordering is possible.\n";
               ^
0_0_16210245_9281.cpp:75:12: error: 'cout' was not declared in this scope
       else cout<<"The door cannot be opened.\n";
            ^
0_0_16210245_9281.cpp: At global scope:
0_0_16210245_9281.cpp:79:2: error: expected unqualified-id before '<' token
 }</span>
  ^


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-02-17 07:06:59, Gzip enabled