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_14995580_1116\Main.java:8: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_14995580_1116\Main.java:8: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_14995580_1116\Main.java:9: 错误: 非法字符: '#'
#include <iostream>
^
0_0_14995580_1116\Main.java:10: 错误: 非法字符: '#'
#include <sstream>
^
0_0_14995580_1116\Main.java:11: 错误: 非法字符: '#'
#include <cstdlib>
^
0_0_14995580_1116\Main.java:12: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_14995580_1116\Main.java:13: 错误: 非法字符: '#'
#include <ctime>
^
0_0_14995580_1116\Main.java:14: 错误: 非法字符: '#'
#include <cctype>
^
0_0_14995580_1116\Main.java:15: 错误: 非法字符: '#'
#include <cmath>
^
0_0_14995580_1116\Main.java:16: 错误: 非法字符: '#'
#include <string>
^
0_0_14995580_1116\Main.java:17: 错误: 非法字符: '#'
#include <cstring>
^
0_0_14995580_1116\Main.java:18: 错误: 非法字符: '#'
#include <stack>
^
0_0_14995580_1116\Main.java:19: 错误: 非法字符: '#'
#include <queue>
^
0_0_14995580_1116\Main.java:20: 错误: 非法字符: '#'
#include <list>
^
0_0_14995580_1116\Main.java:21: 错误: 非法字符: '#'
#include <vector>
^
0_0_14995580_1116\Main.java:22: 错误: 非法字符: '#'
#include <map>
^
0_0_14995580_1116\Main.java:23: 错误: 非法字符: '#'
#include <set>
^
0_0_14995580_1116\Main.java:24: 错误: 非法字符: '#'
#define sqr(x) ((x)*(x))
^
0_0_14995580_1116\Main.java:25: 错误: 非法字符: '#'
#ifdef _WIN32
^
0_0_14995580_1116\Main.java:26: 错误: 非法字符: '#'
#define lld "%I64d"
^
0_0_14995580_1116\Main.java:27: 错误: 非法字符: '#'
#else
^
0_0_14995580_1116\Main.java:28: 错误: 非法字符: '#'
#define lld "%lld"
^
0_0_14995580_1116\Main.java:29: 错误: 非法字符: '#'
#endif
^
0_0_14995580_1116\Main.java:32: 错误: 需要class, interface或enum
const long long INFLL = 0x3f3f3f3f3f3f3f3fll;
^
0_0_14995580_1116\Main.java:33: 错误: 需要class, interface或enum
const double PI = acos(-1.0);
^
0_0_14995580_1116\Main.java:34: 错误: 需要class, interface或enum
const double eps = 1e-10;
^
0_0_14995580_1116\Main.java:36: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_14995580_1116\Main.java:37: 错误: 需要class, interface或enum
typedef int itn;
^
0_0_14995580_1116\Main.java:39: 错误: 需要class, interface或enum
const int maxn = 50007;
^
0_0_14995580_1116\Main.java:40: 错误: 需要class, interface或enum
const int maxm = 100007;
^
0_0_14995580_1116\Main.java:42: 错误: 需要class, interface或enum
int fir[maxn], w[maxn];
^
0_0_14995580_1116\Main.java:43: 错误: 需要class, interface或enum
int u[maxm], v[maxm], nex[maxm];
^
0_0_14995580_1116\Main.java:44: 错误: 需要class, interface或enum
int e_max;
^
0_0_14995580_1116\Main.java:46: 错误: 需要class, interface或enum
int size[maxn], fa[maxn], son[maxn], deep[maxn], pos[maxn], top[maxn];
^
0_0_14995580_1116\Main.java:47: 错误: 需要class, interface或enum
itn cp;
^
0_0_14995580_1116\Main.java:49: 错误: 需要class, interface或enum
struct Node
^
0_0_14995580_1116\Main.java:54: 错误: 需要class, interface或enum
  Node()
  ^
0_0_14995580_1116\Main.java:57: 错误: 需要class, interface或enum
    min = INF;
    ^
0_0_14995580_1116\Main.java:58: 错误: 需要class, interface或enum
    profit[0] = profit[1] = 0;
    ^
0_0_14995580_1116\Main.java:59: 错误: 需要class, interface或enum
  }
  ^
0_0_14995580_1116\Main.java:63: 错误: 需要class, interface或enum
    min += v;
    ^
0_0_14995580_1116\Main.java:64: 错误: 需要class, interface或enum
    max += v;
    ^
0_0_14995580_1116\Main.java:65: 错误: 需要class, interface或enum
  }
  ^
0_0_14995580_1116\Main.java:69: 错误: 需要class, interface或enum
    max = std::max(l.max, r.max);
    ^
0_0_14995580_1116\Main.java:70: 错误: 需要class, interface或enum
    profit[0] = std::max(std::max(0, r.max - l.min), std::max(l.profit[0], r.profit[0]));
    ^
0_0_14995580_1116\Main.java:71: 错误: 需要class, interface或enum
    profit[1] = std::max(std::max(0, l.max - r.min), std::max(l.profit[1], r.profit[1]));
    ^
0_0_14995580_1116\Main.java:72: 错误: 需要class, interface或enum
    return *this;
    ^
0_0_14995580_1116\Main.java:73: 错误: 需要class, interface或enum
  }
  ^
0_0_14995580_1116\Main.java:76: 错误: 需要class, interface或enum
inline void add_edge(int s, int t)
^
0_0_14995580_1116\Main.java:79: 错误: 需要class, interface或enum
  u[e] = s; v[e] = t;
  ^
0_0_14995580_1116\Main.java:79: 错误: 需要class, interface或enum
  u[e] = s; v[e] = t;
            ^
0_0_14995580_1116\Main.java:80: 错误: 需要class, interface或enum
  nex[e] = fir[u[e]]; fir[u[e]] = e;
  ^
0_0_14995580_1116\Main.java:80: 错误: 需要class, interface或enum
  nex[e] = fir[u[e]]; fir[u[e]] = e;
                      ^
0_0_14995580_1116\Main.java:81: 错误: 需要class, interface或enum
}
^
0_0_14995580_1116\Main.java:86: 错误: 需要class, interface或enum
  fa[s] = f;
  ^
0_0_14995580_1116\Main.java:87: 错误: 需要class, interface或enum
  deep[s] = d;
  ^
0_0_14995580_1116\Main.java:88: 错误: 需要class, interface或enum
  son[s] = -1;
  ^
0_0_14995580_1116\Main.java:89: 错误: 需要class, interface或enum
  for (int e = fir[s]; ~e; e = nex[e]) if (v[e] != f)
  ^
0_0_14995580_1116\Main.java:89: 错误: 需要class, interface或enum
  for (int e = fir[s]; ~e; e = nex[e]) if (v[e] != f)
                       ^
0_0_14995580_1116\Main.java:89: 错误: 需要class, interface或enum
  for (int e = fir[s]; ~e; e = nex[e]) if (v[e] != f)
                           ^
0_0_14995580_1116\Main.java:92: 错误: 需要class, interface或enum
    size[s] += size[v[e]];
    ^
0_0_14995580_1116\Main.java:93: 错误: 需要class, interface或enum
    if (son[s] == -1 || size[son[s]] < size[v[e]]) son[s] = v[e];
    ^
0_0_14995580_1116\Main.java:94: 错误: 需要class, interface或enum
  }
  ^
0_0_14995580_1116\Main.java:100: 错误: 需要class, interface或enum
  top[s] = tp;
  ^
0_0_14995580_1116\Main.java:101: 错误: 需要class, interface或enum
  if (son[s] != -1) split(son[s], tp);
  ^
0_0_14995580_1116\Main.java:102: 错误: 需要class, interface或enum
  for (int e = fir[s]; ~e; e = nex[e]) if (v[e] != fa[s] && v[e] != son[s])
  ^
0_0_14995580_1116\Main.java:102: 错误: 需要class, interface或enum
  for (int e = fir[s]; ~e; e = nex[e]) if (v[e] != fa[s] && v[e] != son[s])
                       ^
0_0_14995580_1116\Main.java:102: 错误: 需要class, interface或enum
  for (int e = fir[s]; ~e; e = nex[e]) if (v[e] != fa[s] && v[e] != son[s])
                           ^
0_0_14995580_1116\Main.java:104: 错误: 需要class, interface或enum
}
^
0_0_14995580_1116\Main.java:111: 错误: 需要class, interface或enum
    node[k * 2 + 2].update(node[k].add);
    ^
0_0_14995580_1116\Main.java:112: 错误: 需要class, interface或enum
    node[k].add = 0;
    ^
0_0_14995580_1116\Main.java:113: 错误: 需要class, interface或enum
  }
  ^
0_0_14995580_1116\Main.java:119: 错误: 需要class, interface或enum
}
^
0_0_14995580_1116\Main.java:124: 错误: 需要class, interface或enum
  if (a <= l && r <= b)
  ^
0_0_14995580_1116\Main.java:127: 错误: 需要class, interface或enum
    return ;
    ^
0_0_14995580_1116\Main.java:128: 错误: 需要class, interface或enum
  }
  ^
0_0_14995580_1116\Main.java:131: 错误: 需要class, interface或enum
  update(a, b, v, k * 2 + 1, l, l + r >> 1);
  ^
0_0_14995580_1116\Main.java:132: 错误: 需要class, interface或enum
  update(a, b, v, k * 2 + 2, l + r >> 1, r);
  ^
0_0_14995580_1116\Main.java:133: 错误: 需要class, interface或enum
  pushup(k);
  ^
0_0_14995580_1116\Main.java:134: 错误: 需要class, interface或enum
}
^
0_0_14995580_1116\Main.java:139: 错误: 需要class, interface或enum
  if (a <= l && r <= b) return node[k];
  ^
0_0_14995580_1116\Main.java:141: 错误: 需要class, interface或enum
  pushdown(k);
  ^
0_0_14995580_1116\Main.java:142: 错误: 需要class, interface或enum
  return Node().update(query(a, b, k * 2 + 1, l, l + r >> 1), query(a, b, k * 2 + 2, l + r >> 1, r));
  ^
0_0_14995580_1116\Main.java:143: 错误: 需要class, interface或enum
}
^
0_0_14995580_1116\Main.java:150: 错误: 需要class, interface或enum
    update(pos[top[y]], pos[y] + 1, v, 0, 0, cp);
    ^
0_0_14995580_1116\Main.java:151: 错误: 需要class, interface或enum
    y = fa[top[y]];
    ^
0_0_14995580_1116\Main.java:152: 错误: 需要class, interface或enum
  }
  ^
0_0_14995580_1116\Main.java:155: 错误: 需要class, interface或enum
  update(pos[x], pos[y] + 1, v, 0, 0, cp);
  ^
0_0_14995580_1116\Main.java:156: 错误: 需要class, interface或enum
}
^
0_0_14995580_1116\Main.java:162: 错误: 需要class, interface或enum
  int tag = 0;
  ^
0_0_14995580_1116\Main.java:164: 错误: 需要class, interface或enum
  while (top[x] != top[y])
  ^
0_0_14995580_1116\Main.java:169: 错误: 需要class, interface或enum
      tag ^= 1;
      ^
0_0_14995580_1116\Main.java:170: 错误: 需要class, interface或enum
    }
    ^
0_0_14995580_1116\Main.java:174: 错误: 需要class, interface或enum
    y = fa[top[y]];
    ^
0_0_14995580_1116\Main.java:175: 错误: 需要class, interface或enum
  }
  ^
0_0_14995580_1116\Main.java:180: 错误: 需要class, interface或enum
    tag ^= 1;
    ^
0_0_14995580_1116\Main.java:181: 错误: 需要class, interface或enum
  }
  ^
0_0_14995580_1116\Main.java:184: 错误: 需要class, interface或enum
  return std::max(tmp[0].max - tmp[1].min, std::max(tmp[0].profit[0], tmp[1].profit[1]));
  ^
0_0_14995580_1116\Main.java:185: 错误: 需要class, interface或en


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-27 03:53:29, Gzip enabled