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_38731682_28188.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_38731682_28188.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_38731682_28188.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_38731682_28188.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_38731682_28188.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_38731682_28188.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_38731682_28188.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_38731682_28188.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_38731682_28188.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_38731682_28188.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_38731682_28188.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_38731682_28188.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_38731682_28188.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_38731682_28188.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_38731682_28188.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_38731682_28188.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_38731682_28188.cpp:1:9: error: 'bits' was not declared in this scope
    1 | include<bits/stdc++.h>
      |         ^~~~
0_0_38731682_28188.cpp:1:14: error: 'stdc' was not declared in this scope; did you mean 'std'?
    1 | include<bits/stdc++.h>
      |              ^~~~
      |              std
0_0_38731682_28188.cpp:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
0_0_38731682_28188.cpp:6:1: error: 'string' does not name a type
    6 | string k[N];
      | ^~~~~~
0_0_38731682_28188.cpp: In function 'int main()':
0_0_38731682_28188.cpp:15:15: error: 'cin' was not declared in this scope
   15 |         while(cin>>n>>m)
      |               ^~~
0_0_38731682_28188.cpp:18:17: error: 'vector' was not declared in this scope
   18 |                 vector<int>g[N];
      |                 ^~~~~~
0_0_38731682_28188.cpp:18:24: error: expected primary-expression before 'int'
   18 |                 vector<int>g[N];
      |                        ^~~
0_0_38731682_28188.cpp:19:17: error: 'memset' was not declared in this scope
   19 |                 memset(w,0,sizeof w);
      |                 ^~~~~~
0_0_38731682_28188.cpp:1:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
  +++ |+#include <cstring>
    1 | include<bits/stdc++.h>
0_0_38731682_28188.cpp:25:25: error: 'g' was not declared in this scope
   25 |                         g[y].push_back(x);//反向建图前面的都比后面的大
      |                         ^
0_0_38731682_28188.cpp:28:17: error: 'queue' was not declared in this scope
   28 |                 queue<int>q;
      |                 ^~~~~
0_0_38731682_28188.cpp:28:23: error: expected primary-expression before 'int'
   28 |                 queue<int>q;
      |                       ^~~
0_0_38731682_28188.cpp:33:33: error: 'q' was not declared in this scope
   33 |                                 q.push(i);
      |                                 ^
0_0_38731682_28188.cpp:36:24: error: 'q' was not declared in this scope
   36 |                 while(!q.empty())
      |                        ^
0_0_38731682_28188.cpp:41:39: error: 'g' was not declared in this scope
   41 |                         for(int i=0;i<g[t].size();i++)
      |                                       ^
0_0_38731682_28188.cpp:59:25: error: 'cout' was not declared in this scope
   59 |                         cout<<sum<<endl;
      |                         ^~~~
0_0_38731682_28188.cpp:59:36: error: 'endl' was not declared in this scope
   59 |                         cout<<sum<<endl;
      |                                    ^~~~
0_0_38731682_28188.cpp:63:25: error: 'cout' was not declared in this scope
   63 |                         cout<<"-1"<<endl;
      |                         ^~~~
0_0_38731682_28188.cpp:63:37: error: 'endl' was not declared in this scope
   63 |                         cout<<"-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-29 19:12:30, Gzip enabled