0_0_5925478_27038\Main.java:1: illegal character: \35
#include <iostream>
^
0_0_5925478_27038\Main.java:2: illegal character: \35
#include <stdio.h>
^
0_0_5925478_27038\Main.java:3: illegal character: \35
#include <algorithm>
^
0_0_5925478_27038\Main.java:4: illegal character: \35
#include <math.h>
^
0_0_5925478_27038\Main.java:5: illegal character: \35
#include <string.h>
^
0_0_5925478_27038\Main.java:6: illegal character: \35
#include <stdlib.h>
^
0_0_5925478_27038\Main.java:10: class, interface, or enum expected
const int TOOBIG = 999999999;
^
0_0_5925478_27038\Main.java:12: class, interface, or enum expected
struct tline{
^
0_0_5925478_27038\Main.java:14: class, interface, or enum expected
};
^
0_0_5925478_27038\Main.java:16: class, interface, or enum expected
bool cmp(const tline &a, const tline &b){
^
0_0_5925478_27038\Main.java:18: class, interface, or enum expected
return (a.t < b.t);
^
0_0_5925478_27038\Main.java:19: class, interface, or enum expected
}
^
0_0_5925478_27038\Main.java:22: class, interface, or enum expected
int n, m, s, k;
^
0_0_5925478_27038\Main.java:23: class, interface, or enum expected
int start[11000];
^
0_0_5925478_27038\Main.java:25: class, interface, or enum expected
int f[11000][15];
^
0_0_5925478_27038\Main.java:27: class, interface, or enum expected
void maketree(int r, int fa){
^
0_0_5925478_27038\Main.java:29: class, interface, or enum expected
for (int p = start[r]; p < m && list[p].s == r; p++){
^
0_0_5925478_27038\Main.java:29: class, interface, or enum expected
for (int p = start[r]; p < m && list[p].s == r; p++){
^
0_0_5925478_27038\Main.java:29: class, interface, or enum expected
for (int p = start[r]; p < m && list[p].s == r; p++){
^
0_0_5925478_27038\Main.java:31: class, interface, or enum expected
if (v != fa) {
^
0_0_5925478_27038\Main.java:33: class, interface, or enum expected
for (int i = k; i >= 0; i--) {
^
0_0_5925478_27038\Main.java:33: class, interface, or enum expected
for (int i = k; i >= 0; i--) {
^
0_0_5925478_27038\Main.java:33: class, interface, or enum expected
for (int i = k; i >= 0; i--) {
^
0_0_5925478_27038\Main.java:35: class, interface, or enum expected
for (int j = 0; j <= i; j++){
^
0_0_5925478_27038\Main.java:35: class, interface, or enum expected
for (int j = 0; j <= i; j++){
^
0_0_5925478_27038\Main.java:35: class, interface, or enum expected
for (int j = 0; j <= i; j++){
^
0_0_5925478_27038\Main.java:37: class, interface, or enum expected
gi = min(gi, tmp);
^
0_0_5925478_27038\Main.java:38: class, interface, or enum expected
}
^
0_0_5925478_27038\Main.java:40: class, interface, or enum expected
}
^
0_0_5925478_27038\Main.java:48: class, interface, or enum expected
for (int i = 0; i < m; i++){
^
0_0_5925478_27038\Main.java:48: class, interface, or enum expected
for (int i = 0; i < m; i++){
^
0_0_5925478_27038\Main.java:48: class, interface, or enum expected
for (int i = 0; i < m; i++){
^
0_0_5925478_27038\Main.java:50: class, interface, or enum expected
list[m + i].s = list[i].t;
^
0_0_5925478_27038\Main.java:51: class, interface, or enum expected
list[m + i].t = list[i].s;
^
0_0_5925478_27038\Main.java:52: class, interface, or enum expected
list[m + i].c = list[i].c;
^
0_0_5925478_27038\Main.java:53: class, interface, or enum expected
}
^
0_0_5925478_27038\Main.java:55: class, interface, or enum expected
sort(list, list + m, cmp);
^
0_0_5925478_27038\Main.java:56: class, interface, or enum expected
memset(start, 0, sizeof(start));
^
0_0_5925478_27038\Main.java:57: class, interface, or enum expected
for (int i = 1; i < m; i++) if (list[i].s != list[i - 1].s) start[list[i].s] = i;
^
0_0_5925478_27038\Main.java:57: class, interface, or enum expected
for (int i = 1; i < m; i++) if (list[i].s != list[i - 1].s) start[list[i].s] = i;
^
0_0_5925478_27038\Main.java:57: class, interface, or enum expected
for (int i = 1; i < m; i++) if (list[i].s != list[i - 1].s) start[list[i].s] = i;
^
0_0_5925478_27038\Main.java:59: class, interface, or enum expected
maketree(s, 0);
^
0_0_5925478_27038\Main.java:60: class, interface, or enum expected
int ans = TOOBIG;
^
0_0_5925478_27038\Main.java:61: class, interface, or enum expected
for (int i = 1; i <= k; i++) ans = min(ans, f[s][i]);
^
0_0_5925478_27038\Main.java:61: class, interface, or enum expected
for (int i = 1; i <= k; i++) ans = min(ans, f[s][i]);
^
0_0_5925478_27038\Main.java:61: class, interface, or enum expected
for (int i = 1; i <= k; i++) ans = min(ans, f[s][i]);
^
0_0_5925478_27038\Main.java:63: class, interface, or enum expected
printf("%d\n", ans);
^
0_0_5925478_27038\Main.java:64: class, interface, or enum expected
}
^
0_0_5925478_27038\Main.java:66: class, interface, or enum expected
}
^
49 errors
|