0_0_6283472_11530\Main.java:1: illegal character: \35
#include <iostream>
^
0_0_6283472_11530\Main.java:2: illegal character: \35
#include <cstdio>
^
0_0_6283472_11530\Main.java:6: class, interface, or enum expected
const int MXN = 507;
^
0_0_6283472_11530\Main.java:8: class, interface, or enum expected
int n, m, o;
^
0_0_6283472_11530\Main.java:9: class, interface, or enum expected
int ans;
^
0_0_6283472_11530\Main.java:10: class, interface, or enum expected
int g[MXN][MXN];
^
0_0_6283472_11530\Main.java:11: class, interface, or enum expected
int need[MXN][MXN];
^
0_0_6283472_11530\Main.java:12: class, interface, or enum expected
int make[MXN][MXN];
^
0_0_6283472_11530\Main.java:13: class, interface, or enum expected
bool know[MXN];
^
0_0_6283472_11530\Main.java:14: class, interface, or enum expected
int t[MXN];
^
0_0_6283472_11530\Main.java:15: class, interface, or enum expected
int over[MXN];
^
0_0_6283472_11530\Main.java:16: class, interface, or enum expected
int vis[MXN];
^
0_0_6283472_11530\Main.java:17: class, interface, or enum expected
char s[MXN];
^
0_0_6283472_11530\Main.java:19: class, interface, or enum expected
inline bool can(int x)
^
0_0_6283472_11530\Main.java:21: class, interface, or enum expected
for (int i = 1; i <= need[x][0]; ++i)
^
0_0_6283472_11530\Main.java:21: class, interface, or enum expected
for (int i = 1; i <= need[x][0]; ++i)
^
0_0_6283472_11530\Main.java:23: class, interface, or enum expected
return true;
^
0_0_6283472_11530\Main.java:24: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:29: class, interface, or enum expected
for (int i = 1; i <= m; ++i)
^
0_0_6283472_11530\Main.java:29: class, interface, or enum expected
for (int i = 1; i <= m; ++i)
^
0_0_6283472_11530\Main.java:29: class, interface, or enum expected
for (int i = 1; i <= m; ++i)
^
0_0_6283472_11530\Main.java:32: class, interface, or enum expected
over[i] = t[i];
^
0_0_6283472_11530\Main.java:33: class, interface, or enum expected
g[0][++g[0][0]] = i;
^
0_0_6283472_11530\Main.java:34: class, interface, or enum expected
++now;
^
0_0_6283472_11530\Main.java:35: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:38: class, interface, or enum expected
for (int i = 1; i <= m; ++i)
^
0_0_6283472_11530\Main.java:38: class, interface, or enum expected
for (int i = 1; i <= m; ++i)
^
0_0_6283472_11530\Main.java:38: class, interface, or enum expected
for (int i = 1; i <= m; ++i)
^
0_0_6283472_11530\Main.java:41: class, interface, or enum expected
p = i;
^
0_0_6283472_11530\Main.java:42: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:44: class, interface, or enum expected
vis[p] = 2;
^
0_0_6283472_11530\Main.java:45: class, interface, or enum expected
int time = over[p];
^
0_0_6283472_11530\Main.java:46: class, interface, or enum expected
for (int j = 1; j <= make[p][0]; ++j)
^
0_0_6283472_11530\Main.java:46: class, interface, or enum expected
for (int j = 1; j <= make[p][0]; ++j)
^
0_0_6283472_11530\Main.java:46: class, interface, or enum expected
for (int j = 1; j <= make[p][0]; ++j)
^
0_0_6283472_11530\Main.java:49: class, interface, or enum expected
for (int i = 1; i <= m; ++i)
^
0_0_6283472_11530\Main.java:49: class, interface, or enum expected
for (int i = 1; i <= m; ++i)
^
0_0_6283472_11530\Main.java:49: class, interface, or enum expected
for (int i = 1; i <= m; ++i)
^
0_0_6283472_11530\Main.java:52: class, interface, or enum expected
over[i] = time + t[i];
^
0_0_6283472_11530\Main.java:53: class, interface, or enum expected
g[p][++g[p][0]] = i;
^
0_0_6283472_11530\Main.java:54: class, interface, or enum expected
++now;
^
0_0_6283472_11530\Main.java:55: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:58: class, interface, or enum expected
return;
^
0_0_6283472_11530\Main.java:59: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:66: class, interface, or enum expected
printf("(P%d", p);
^
0_0_6283472_11530\Main.java:67: class, interface, or enum expected
if (s == 1) print(g[p][1]);
^
0_0_6283472_11530\Main.java:68: class, interface, or enum expected
else if (s > 1) {
^
0_0_6283472_11530\Main.java:70: class, interface, or enum expected
print(g[p][1]);
^
0_0_6283472_11530\Main.java:71: class, interface, or enum expected
for (int i = 2; i <= s; ++i) {
^
0_0_6283472_11530\Main.java:71: class, interface, or enum expected
for (int i = 2; i <= s; ++i) {
^
0_0_6283472_11530\Main.java:71: class, interface, or enum expected
for (int i = 2; i <= s; ++i) {
^
0_0_6283472_11530\Main.java:73: class, interface, or enum expected
print(g[p][i]);
^
0_0_6283472_11530\Main.java:74: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:76: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:78: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:83: class, interface, or enum expected
while (scanf("%d%d%d", &m, &n, &o) != EOF) {
^
0_0_6283472_11530\Main.java:86: class, interface, or enum expected
scanf("%s", s);
^
0_0_6283472_11530\Main.java:87: class, interface, or enum expected
for (int i = 1; i <= n; ++i)
^
0_0_6283472_11530\Main.java:87: class, interface, or enum expected
for (int i = 1; i <= n; ++i)
^
0_0_6283472_11530\Main.java:87: class, interface, or enum expected
for (int i = 1; i <= n; ++i)
^
0_0_6283472_11530\Main.java:90: class, interface, or enum expected
g[0][0] = 0;
^
0_0_6283472_11530\Main.java:91: class, interface, or enum expected
ans = -1;
^
0_0_6283472_11530\Main.java:92: class, interface, or enum expected
for (int i = 1; i <= m; ++i) {
^
0_0_6283472_11530\Main.java:92: class, interface, or enum expected
for (int i = 1; i <= m; ++i) {
^
0_0_6283472_11530\Main.java:92: class, interface, or enum expected
for (int i = 1; i <= m; ++i) {
^
0_0_6283472_11530\Main.java:94: class, interface, or enum expected
for (int j = 1; j <= need[i][0]; ++j)
^
0_0_6283472_11530\Main.java:94: class, interface, or enum expected
for (int j = 1; j <= need[i][0]; ++j)
^
0_0_6283472_11530\Main.java:94: class, interface, or enum expected
for (int j = 1; j <= need[i][0]; ++j)
^
0_0_6283472_11530\Main.java:96: class, interface, or enum expected
scanf("%d", make[i]);
^
0_0_6283472_11530\Main.java:97: class, interface, or enum expected
for (int j = 1; j <= make[i][0]; ++j)
^
0_0_6283472_11530\Main.java:97: class, interface, or enum expected
for (int j = 1; j <= make[i][0]; ++j)
^
0_0_6283472_11530\Main.java:97: class, interface, or enum expected
for (int j = 1; j <= make[i][0]; ++j)
^
0_0_6283472_11530\Main.java:99: class, interface, or enum expected
g[i][0] = 0;
^
0_0_6283472_11530\Main.java:100: class, interface, or enum expected
vis[i] = 0;
^
0_0_6283472_11530\Main.java:101: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:103: class, interface, or enum expected
printf("Case %d: %d ", ++numCase, ans);
^
0_0_6283472_11530\Main.java:104: class, interface, or enum expected
if (ans != -1) {
^
0_0_6283472_11530\Main.java:106: class, interface, or enum expected
print(g[0][1]);
^
0_0_6283472_11530\Main.java:107: class, interface, or enum expected
for (int i = 2; i <= g[0][0]; ++i) {
^
0_0_6283472_11530\Main.java:107: class, interface, or enum expected
for (int i = 2; i <= g[0][0]; ++i) {
^
0_0_6283472_11530\Main.java:107: class, interface, or enum expected
for (int i = 2; i <= g[0][0]; ++i) {
^
0_0_6283472_11530\Main.java:109: class, interface, or enum expected
print(g[0][i]);
^
0_0_6283472_11530\Main.java:110: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:112: class, interface, or enum expected
}
^
0_0_6283472_11530\Main.java:114: class, interface, or enum expected
puts("");
^
0_0_6283472_11530\Main.java:115: class, interface, or enum expected
}
^
86 errors
|