0_0_28883583_4136\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_28883583_4136\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
^
0_0_28883583_4136\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_28883583_4136\Main.java:4: 错误: 非法字符: '#'
#define mem(a, b) memset(a, b, sizeof(a))
^
0_0_28883583_4136\Main.java:4: 错误: 需要class, interface或enum
#define mem(a, b) memset(a, b, sizeof(a))
^
0_0_28883583_4136\Main.java:6: 错误: 需要class, interface或enum
ll fa[N], a[N];
^
0_0_28883583_4136\Main.java:7: 错误: 需要class, interface或enum
set<ll> s[N];
^
0_0_28883583_4136\Main.java:8: 错误: 需要class, interface或enum
void solve()
^
0_0_28883583_4136\Main.java:11: 错误: 需要class, interface或enum
scanf("%lld", &n);
^
0_0_28883583_4136\Main.java:12: 错误: 需要class, interface或enum
for (ll i = 0; i <= n; i++)
^
0_0_28883583_4136\Main.java:12: 错误: 需要class, interface或enum
for (ll i = 0; i <= n; i++)
^
0_0_28883583_4136\Main.java:12: 错误: 需要class, interface或enum
for (ll i = 0; i <= n; i++)
^
0_0_28883583_4136\Main.java:15: 错误: 需要class, interface或enum
fa[i] = 0;
^
0_0_28883583_4136\Main.java:16: 错误: 需要class, interface或enum
}
^
0_0_28883583_4136\Main.java:17: 错误: 需要class, interface或enum
for (ll i = 2; i <= n; i++)
^
0_0_28883583_4136\Main.java:17: 错误: 需要class, interface或enum
for (ll i = 2; i <= n; i++)
^
0_0_28883583_4136\Main.java:20: 错误: 需要class, interface或enum
fa[i] = x;
^
0_0_28883583_4136\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_28883583_4136\Main.java:22: 错误: 需要class, interface或enum
for (ll i = 1; i <= n; i++)
^
0_0_28883583_4136\Main.java:22: 错误: 需要class, interface或enum
for (ll i = 1; i <= n; i++)
^
0_0_28883583_4136\Main.java:25: 错误: 需要class, interface或enum
s[fa[i]].insert(a[i]);
^
0_0_28883583_4136\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_28883583_4136\Main.java:28: 错误: 需要class, interface或enum
ll maxx = 0, minn = 0;
^
0_0_28883583_4136\Main.java:29: 错误: 需要class, interface或enum
for (ll i = 0; i <= n; i++)
^
0_0_28883583_4136\Main.java:29: 错误: 需要class, interface或enum
for (ll i = 0; i <= n; i++)
^
0_0_28883583_4136\Main.java:29: 错误: 需要class, interface或enum
for (ll i = 0; i <= n; i++)
^
0_0_28883583_4136\Main.java:34: 错误: 需要class, interface或enum
if (*it > 0)
^
0_0_28883583_4136\Main.java:36: 错误: 需要class, interface或enum
if (*it < 0)
^
0_0_28883583_4136\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_28883583_4136\Main.java:42: 错误: 需要class, interface或enum
if (*it > 0)
^
0_0_28883583_4136\Main.java:44: 错误: 需要class, interface或enum
it--;
^
0_0_28883583_4136\Main.java:45: 错误: 需要class, interface或enum
if (*it > 0)
^
0_0_28883583_4136\Main.java:47: 错误: 需要class, interface或enum
it = s[i].begin();
^
0_0_28883583_4136\Main.java:48: 错误: 需要class, interface或enum
if (*it < 0)
^
0_0_28883583_4136\Main.java:50: 错误: 需要class, interface或enum
it++;
^
0_0_28883583_4136\Main.java:51: 错误: 需要class, interface或enum
if (*it < 0)
^
0_0_28883583_4136\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_28883583_4136\Main.java:56: 错误: 需要class, interface或enum
printf("%lld %lld\n", ans1, ans2);
^
0_0_28883583_4136\Main.java:57: 错误: 需要class, interface或enum
}
^
0_0_28883583_4136\Main.java:62: 错误: 需要class, interface或enum
scanf("%lld", &t);
^
0_0_28883583_4136\Main.java:63: 错误: 需要class, interface或enum
while (t--)
^
0_0_28883583_4136\Main.java:65: 错误: 需要class, interface或enum
return 0;
^
0_0_28883583_4136\Main.java:66: 错误: 需要class, interface或enum
}
^
43 个错误
|