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_37879095_16740.cpp:1:7: error: 'll' does not name a type
 const ll MAXN=100005;
       ^
0_0_37879095_16740.cpp:2:7: error: 'll' does not name a type
 const ll mod=998244353;
       ^
0_0_37879095_16740.cpp:3:11: error: 'MAXN' was not declared in this scope
 int n,siz[MAXN],cnt;
           ^
0_0_37879095_16740.cpp:4:1: error: 'vector' does not name a type
 vector<int>vec[MAXN];
 ^
0_0_37879095_16740.cpp: In function 'void dfs(int, int)':
0_0_37879095_16740.cpp:6:5: error: 'siz' was not declared in this scope
     siz[x]=1;
     ^
0_0_37879095_16740.cpp:7:17: error: 'vec' was not declared in this scope
     for(auto &p:vec[x]){
                 ^
0_0_37879095_16740.cpp: In function 'int main()':
0_0_37879095_16740.cpp:15:5: error: 'IOS' was not declared in this scope
     IOS;
     ^
0_0_37879095_16740.cpp:17:5: error: 'cin' was not declared in this scope
     cin>>t;
     ^
0_0_37879095_16740.cpp:20:30: error: 'vec' was not declared in this scope
         for(int i=1;i<=n;++i)vec[i].clear();
                              ^
0_0_37879095_16740.cpp:24:13: error: 'vec' was not declared in this scope
             vec[x].push_back(y);
             ^
0_0_37879095_16740.cpp:31:23: error: 'mod' was not declared in this scope
             ans=ans*2%mod;
                       ^
0_0_37879095_16740.cpp:33:9: error: 'cout' was not declared in this scope
         cout<<ans-1<<endl;
         ^
0_0_37879095_16740.cpp:33:22: error: 'endl' was not declared in this scope
         cout<<ans-1<<endl;
                      ^


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-24 19:12:48, Gzip enabled