0_0_37640203_13210\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_37640203_13210\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_37640203_13210\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll; typedef unsigned long long ull; typedef long double ld;
^
0_0_37640203_13210\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll; typedef unsigned long long ull; typedef long double ld;
^
0_0_37640203_13210\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll; typedef unsigned long long ull; typedef long double ld;
^
0_0_37640203_13210\Main.java:4: 错误: 需要class, interface或enum
inline ll gcd(ll x, ll y) { return y ? gcd(y, x % y) : x; }
^
0_0_37640203_13210\Main.java:4: 错误: 需要class, interface或enum
inline ll gcd(ll x, ll y) { return y ? gcd(y, x % y) : x; }
^
0_0_37640203_13210\Main.java:5: 错误: 需要class, interface或enum
ll qpow(ll a, ll b) { ll ans = 1; while (b) { if (b & 1) ans *= a; b >>= 1; a *= a; } return ans; }
^
0_0_37640203_13210\Main.java:5: 错误: 需要class, interface或enum
ll qpow(ll a, ll b) { ll ans = 1; while (b) { if (b & 1) ans *= a; b >>= 1; a *= a; } return ans; }
^
0_0_37640203_13210\Main.java:5: 错误: 需要class, interface或enum
ll qpow(ll a, ll b) { ll ans = 1; while (b) { if (b & 1) ans *= a; b >>= 1; a *= a; } return ans; }
^
0_0_37640203_13210\Main.java:5: 错误: 需要class, interface或enum
ll qpow(ll a, ll b) { ll ans = 1; while (b) { if (b & 1) ans *= a; b >>= 1; a *= a; } return ans; }
^
0_0_37640203_13210\Main.java:5: 错误: 需要class, interface或enum
ll qpow(ll a, ll b) { ll ans = 1; while (b) { if (b & 1) ans *= a; b >>= 1; a *= a; } return ans; }
^
0_0_37640203_13210\Main.java:6: 错误: 需要class, interface或enum
ll qpow(ll a, ll b, ll mod) { ll ans = 1; a %= mod; while (b) { if (b & 1)(ans *= a) %= mod; b >>= 1; (a *= a) %= mod; }return ans % mod; }
^
0_0_37640203_13210\Main.java:6: 错误: 需要class, interface或enum
ll qpow(ll a, ll b, ll mod) { ll ans = 1; a %= mod; while (b) { if (b & 1)(ans *= a) %= mod; b >>= 1; (a *= a) %= mod; }return ans % mod; }
^
0_0_37640203_13210\Main.java:6: 错误: 需要class, interface或enum
ll qpow(ll a, ll b, ll mod) { ll ans = 1; a %= mod; while (b) { if (b & 1)(ans *= a) %= mod; b >>= 1; (a *= a) %= mod; }return ans % mod; }
^
0_0_37640203_13210\Main.java:6: 错误: 需要class, interface或enum
ll qpow(ll a, ll b, ll mod) { ll ans = 1; a %= mod; while (b) { if (b & 1)(ans *= a) %= mod; b >>= 1; (a *= a) %= mod; }return ans % mod; }
^
0_0_37640203_13210\Main.java:6: 错误: 需要class, interface或enum
ll qpow(ll a, ll b, ll mod) { ll ans = 1; a %= mod; while (b) { if (b & 1)(ans *= a) %= mod; b >>= 1; (a *= a) %= mod; }return ans % mod; }
^
0_0_37640203_13210\Main.java:6: 错误: 需要class, interface或enum
ll qpow(ll a, ll b, ll mod) { ll ans = 1; a %= mod; while (b) { if (b & 1)(ans *= a) %= mod; b >>= 1; (a *= a) %= mod; }return ans % mod; }
^
0_0_37640203_13210\Main.java:7: 错误: 需要class, interface或enum
inline int read() { ll s = 0, w = 1; char ch = getchar(); while (ch < 48 || ch > 57) { if (ch == '-') w = -1; ch = getchar(); } while (ch >= 48 && ch <= 57) s = (s << 1) + (s << 3) + (ch ^ 48), ch = getchar(); return s * w; }
^
0_0_37640203_13210\Main.java:7: 错误: 需要class, interface或enum
inline int read() { ll s = 0, w = 1; char ch = getchar(); while (ch < 48 || ch > 57) { if (ch == '-') w = -1; ch = getchar(); } while (ch >= 48 && ch <= 57) s = (s << 1) + (s << 3) + (ch ^ 48), ch = getchar(); return s * w; }
^
0_0_37640203_13210\Main.java:7: 错误: 需要class, interface或enum
inline int read() { ll s = 0, w = 1; char ch = getchar(); while (ch < 48 || ch > 57) { if (ch == '-') w = -1; ch = getchar(); } while (ch >= 48 && ch <= 57) s = (s << 1) + (s << 3) + (ch ^ 48), ch = getchar(); return s * w; }
^
0_0_37640203_13210\Main.java:7: 错误: 需要class, interface或enum
inline int read() { ll s = 0, w = 1; char ch = getchar(); while (ch < 48 || ch > 57) { if (ch == '-') w = -1; ch = getchar(); } while (ch >= 48 && ch <= 57) s = (s << 1) + (s << 3) + (ch ^ 48), ch = getchar(); return s * w; }
^
0_0_37640203_13210\Main.java:7: 错误: 需要class, interface或enum
inline int read() { ll s = 0, w = 1; char ch = getchar(); while (ch < 48 || ch > 57) { if (ch == '-') w = -1; ch = getchar(); } while (ch >= 48 && ch <= 57) s = (s << 1) + (s << 3) + (ch ^ 48), ch = getchar(); return s * w; }
^
0_0_37640203_13210\Main.java:7: 错误: 需要class, interface或enum
inline int read() { ll s = 0, w = 1; char ch = getchar(); while (ch < 48 || ch > 57) { if (ch == '-') w = -1; ch = getchar(); } while (ch >= 48 && ch <= 57) s = (s << 1) + (s << 3) + (ch ^ 48), ch = getchar(); return s * w; }
^
0_0_37640203_13210\Main.java:8: 错误: 需要class, interface或enum
inline void write(ll x) { if (!x) { putchar('0'); return; } char F[40]; ll tmp = x > 0 ? x : -x; if (x < 0)putchar('-'); int cnt = 0; while (tmp > 0) { F[cnt++] = tmp % 10 + '0'; tmp /= 10; } while (cnt > 0)putchar(F[--cnt]); }
^
0_0_37640203_13210\Main.java:8: 错误: 需要class, interface或enum
inline void write(ll x) { if (!x) { putchar('0'); return; } char F[40]; ll tmp = x > 0 ? x : -x; if (x < 0)putchar('-'); int cnt = 0; while (tmp > 0) { F[cnt++] = tmp % 10 + '0'; tmp /= 10; } while (cnt > 0)putchar(F[--cnt]); }
^
0_0_37640203_13210\Main.java:8: 错误: 需要class, interface或enum
inline void write(ll x) { if (!x) { putchar('0'); return; } char F[40]; ll tmp = x > 0 ? x : -x; if (x < 0)putchar('-'); int cnt = 0; while (tmp > 0) { F[cnt++] = tmp % 10 + '0'; tmp /= 10; } while (cnt > 0)putchar(F[--cnt]); }
^
0_0_37640203_13210\Main.java:8: 错误: 需要class, interface或enum
inline void write(ll x) { if (!x) { putchar('0'); return; } char F[40]; ll tmp = x > 0 ? x : -x; if (x < 0)putchar('-'); int cnt = 0; while (tmp > 0) { F[cnt++] = tmp % 10 + '0'; tmp /= 10; } while (cnt > 0)putchar(F[--cnt]); }
^
0_0_37640203_13210\Main.java:8: 错误: 需要class, interface或enum
inline void write(ll x) { if (!x) { putchar('0'); return; } char F[40]; ll tmp = x > 0 ? x : -x; if (x < 0)putchar('-'); int cnt = 0; while (tmp > 0) { F[cnt++] = tmp % 10 + '0'; tmp /= 10; } while (cnt > 0)putchar(F[--cnt]); }
^
0_0_37640203_13210\Main.java:8: 错误: 需要class, interface或enum
inline void write(ll x) { if (!x) { putchar('0'); return; } char F[40]; ll tmp = x > 0 ? x : -x; if (x < 0)putchar('-'); int cnt = 0; while (tmp > 0) { F[cnt++] = tmp % 10 + '0'; tmp /= 10; } while (cnt > 0)putchar(F[--cnt]); }
^
0_0_37640203_13210\Main.java:8: 错误: 需要class, interface或enum
inline void write(ll x) { if (!x) { putchar('0'); return; } char F[40]; ll tmp = x > 0 ? x : -x; if (x < 0)putchar('-'); int cnt = 0; while (tmp > 0) { F[cnt++] = tmp % 10 + '0'; tmp /= 10; } while (cnt > 0)putchar(F[--cnt]); }
^
0_0_37640203_13210\Main.java:8: 错误: 需要class, interface或enum
inline void write(ll x) { if (!x) { putchar('0'); return; } char F[40]; ll tmp = x > 0 ? x : -x; if (x < 0)putchar('-'); int cnt = 0; while (tmp > 0)
|