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_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:5:1: note: in expansion of macro 'int'
 int cas = 0;
 ^
0_0_34781734_31064.cpp:5:5: error: 'cas' does not name a type
 int cas = 0;
     ^
0_0_34781734_31064.cpp: In function 'void out()':
0_0_34781734_31064.cpp:6:37: error: 'cas' was not declared in this scope
 void out() { printf("Case #%d: ", ++cas); }
                                     ^
0_0_34781734_31064.cpp: At global scope:
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:13:7: note: in expansion of macro 'int'
 const int N = 1e6 + 10;
       ^
0_0_34781734_31064.cpp:13:11: error: 'N' does not name a type
 const int N = 1e6 + 10;
           ^
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:14:7: note: in expansion of macro 'int'
 const int M = 2 * N;
       ^
0_0_34781734_31064.cpp:14:11: error: 'M' does not name a type
 const int M = 2 * N;
           ^
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:18:3: note: in expansion of macro 'int'
   int to, next;
   ^
0_0_34781734_31064.cpp:18:7: error: 'to' does not name a type
   int to, next;
       ^
0_0_34781734_31064.cpp:20:5: error: 'M' was not declared in this scope
  }e[M];
     ^
0_0_34781734_31064.cpp:2:13: error: template argument 1 is invalid
 #define int ll;
             ^
0_0_34781734_31064.cpp:21:8: note: in expansion of macro 'int'
  queue<int> q;
        ^
0_0_34781734_31064.cpp:2:13: error: template argument 2 is invalid
 #define int ll;
             ^
0_0_34781734_31064.cpp:21:8: note: in expansion of macro 'int'
  queue<int> q;
        ^
0_0_34781734_31064.cpp:21:11: error: expected unqualified-id before '>' token
  queue<int> q;
           ^
0_0_34781734_31064.cpp:2:15: error: expected ')' before ';' token
 #define int ll;
               ^
0_0_34781734_31064.cpp:22:12: note: in expansion of macro 'int'
  void init(int sum, int st, int ed) {
            ^
0_0_34781734_31064.cpp:22:16: error: 'sum' does not name a type
  void init(int sum, int st, int ed) {
                ^
0_0_34781734_31064.cpp:22:25: error: 'st' does not name a type
  void init(int sum, int st, int ed) {
                         ^
0_0_34781734_31064.cpp:22:33: error: 'ed' does not name a type
  void init(int sum, int st, int ed) {
                                 ^
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:29:2: note: in expansion of macro 'int'
  int n, tot, s, t;
  ^
0_0_34781734_31064.cpp:29:6: error: 'n' does not name a type
  int n, tot, s, t;
      ^
0_0_34781734_31064.cpp:30:10: error: 'N' was not declared in this scope
  ll head[N], d[N];
          ^
0_0_34781734_31064.cpp:30:16: error: 'N' was not declared in this scope
  ll head[N], d[N];
                ^
0_0_34781734_31064.cpp:2:15: error: expected ')' before ';' token
 #define int ll;
               ^
0_0_34781734_31064.cpp:31:11: note: in expansion of macro 'int'
  void add(int x, int y, ll z) {
           ^
0_0_34781734_31064.cpp:31:15: error: 'x' does not name a type
  void add(int x, int y, ll z) {
               ^
0_0_34781734_31064.cpp:31:22: error: 'y' does not name a type
  void add(int x, int y, ll z) {
                      ^
0_0_34781734_31064.cpp:2:15: error: expected ')' before ';' token
 #define int ll;
               ^
0_0_34781734_31064.cpp:56:9: note: in expansion of macro 'int'
  ll dfs(int x, ll flow) {
         ^
0_0_34781734_31064.cpp:56:13: error: 'x' does not name a type
  ll dfs(int x, ll flow) {
             ^
0_0_34781734_31064.cpp: In member function 'bool Dinic::bfs()':
0_0_34781734_31064.cpp:38:10: error: 'd' was not declared in this scope
   memset(d, 0, sizeof d);
          ^
0_0_34781734_31064.cpp:39:10: error: 'q' was not declared in this scope
   while (q.size()) q.pop();
          ^
0_0_34781734_31064.cpp:40:3: error: 'q' was not declared in this scope
   q.push(s);
   ^
0_0_34781734_31064.cpp:40:10: error: 's' was not declared in this scope
   q.push(s);
          ^
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:43:4: note: in expansion of macro 'int'
    int x = q.front();
    ^
0_0_34781734_31064.cpp:43:8: error: 'x' was not declared in this scope
    int x = q.front();
        ^
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:45:9: note: in expansion of macro 'int'
    for (int i = head[x]; ~i; i = e[i].next) {
         ^
0_0_34781734_31064.cpp:45:13: error: 'i' was not declared in this scope
    for (int i = head[x]; ~i; i = e[i].next) {
             ^
0_0_34781734_31064.cpp:45:17: error: 'head' was not declared in this scope
    for (int i = head[x]; ~i; i = e[i].next) {
                 ^
0_0_34781734_31064.cpp:45:28: error: expected ')' before ';' token
    for (int i = head[x]; ~i; i = e[i].next) {
                            ^
0_0_34781734_31064.cpp:45:30: error: 'i' was not declared in this scope
    for (int i = head[x]; ~i; i = e[i].next) {
                              ^
0_0_34781734_31064.cpp:45:34: error: 'e' was not declared in this scope
    for (int i = head[x]; ~i; i = e[i].next) {
                                  ^
0_0_34781734_31064.cpp: In member function 'll Dinic::getmaxflow()':
0_0_34781734_31064.cpp:75:22: error: 's' was not declared in this scope
    while (flow = dfs(s, INF)) maxflow += flow;
                      ^
0_0_34781734_31064.cpp: In function 'void solve()':
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:80:2: note: in expansion of macro 'int'
  int n = rd(), s = rd();
  ^
0_0_34781734_31064.cpp:80:6: error: 'n' was not declared in this scope
  int n = rd(), s = rd();
      ^
0_0_34781734_31064.cpp:80:16: error: 's' was not declared in this scope
  int n = rd(), s = rd();
                ^
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:92:9: note: in expansion of macro 'int'
    for (int i = 1; i <= n; i++) {
         ^
0_0_34781734_31064.cpp:92:13: error: 'i' was not declared in this scope
    for (int i = 1; i <= n; i++) {
             ^
0_0_34781734_31064.cpp:92:26: error: expected ')' before ';' token
    for (int i = 1; i <= n; i++) {
                          ^
0_0_34781734_31064.cpp:92:28: error: 'i' was not declared in this scope
    for (int i = 1; i <= n; i++) {
                            ^
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:110:9: note: in expansion of macro 'int'
    for (int i = 1; i <= s; i++) {
         ^
0_0_34781734_31064.cpp:110:13: error: 'i' was not declared in this scope
    for (int i = 1; i <= s; i++) {
             ^
0_0_34781734_31064.cpp:110:26: error: expected ')' before ';' token
    for (int i = 1; i <= s; i++) {
                          ^
0_0_34781734_31064.cpp:110:28: error: 'i' was not declared in this scope
    for (int i = 1; i <= s; i++) {
                            ^
0_0_34781734_31064.cpp: In function 'int main()':
0_0_34781734_31064.cpp:2:13: error: declaration does not declare anything [-fpermissive]
 #define int ll;
             ^
0_0_34781734_31064.cpp:124:2: note: in expansion of macro 'int'
  int _T = 1;
  ^
0_0_34781734_31064.cpp:124:6: error: '_T' was not declared in this scope
  int _T = 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-24 13:02:29, Gzip enabled