0_0_18066774_1129\Main.java:7: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_18066774_1129\Main.java:7: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_18066774_1129\Main.java:8: 错误: 非法字符: '#'
#include<iostream>
^
0_0_18066774_1129\Main.java:9: 错误: 非法字符: '#'
#include<cstring>
^
0_0_18066774_1129\Main.java:10: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_18066774_1129\Main.java:11: 错误: 非法字符: '#'
#include<cmath>
^
0_0_18066774_1129\Main.java:12: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_18066774_1129\Main.java:13: 错误: 非法字符: '#'
#include<queue>
^
0_0_18066774_1129\Main.java:14: 错误: 非法字符: '#'
#include<stack>
^
0_0_18066774_1129\Main.java:15: 错误: 非法字符: '#'
#include<map>
^
0_0_18066774_1129\Main.java:16: 错误: 非法字符: '#'
#include<set>
^
0_0_18066774_1129\Main.java:17: 错误: 非法字符: '#'
#include<vector>
^
0_0_18066774_1129\Main.java:18: 错误: 非法字符: '#'
#include <cstdarg>
^
0_0_18066774_1129\Main.java:21: 错误: 非法字符: '#'
#define mp make_pair
^
0_0_18066774_1129\Main.java:21: 错误: 需要class, interface或enum
#define mp make_pair
^
0_0_18066774_1129\Main.java:22: 错误: 非法字符: '#'
#define pb push_back
^
0_0_18066774_1129\Main.java:23: 错误: 非法字符: '#'
#define rep(i,n) for(int i = 0; i < n; i++)
^
0_0_18066774_1129\Main.java:23: 错误: 需要class, interface或enum
#define rep(i,n) for(int i = 0; i < n; i++)
^
0_0_18066774_1129\Main.java:23: 错误: 需要class, interface或enum
#define rep(i,n) for(int i = 0; i < n; i++)
^
0_0_18066774_1129\Main.java:24: 错误: 非法字符: '#'
#define fi first
^
0_0_18066774_1129\Main.java:25: 错误: 非法字符: '#'
#define se second
^
0_0_18066774_1129\Main.java:26: 错误: 非法字符: '#'
#define sz(x) ((int) (x).size())
^
0_0_18066774_1129\Main.java:27: 错误: 非法字符: '#'
#define all(x) (x).begin(), (x).end()
^
0_0_18066774_1129\Main.java:28: 错误: 非法字符: '#'
#define sqr(x) ((x) * (x))
^
0_0_18066774_1129\Main.java:29: 错误: 非法字符: '#'
#define clr(a,b) (memset(a,b,sizeof(a)))
^
0_0_18066774_1129\Main.java:30: 错误: 非法字符: '#'
#define y0 y3487465
^
0_0_18066774_1129\Main.java:31: 错误: 非法字符: '#'
#define y1 y8687969
^
0_0_18066774_1129\Main.java:33: 错误: 非法字符: '#'
#ifdef unix
^
0_0_18066774_1129\Main.java:34: 错误: 非法字符: '#'
#define LLD "%lld"
^
0_0_18066774_1129\Main.java:35: 错误: 非法字符: '#'
#else
^
0_0_18066774_1129\Main.java:36: 错误: 非法字符: '#'
#define LLD "%I64d"
^
0_0_18066774_1129\Main.java:37: 错误: 非法字符: '#'
#endif
^
0_0_18066774_1129\Main.java:40: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_18066774_1129\Main.java:41: 错误: 需要class, interface或enum
typedef long double ld;
^
0_0_18066774_1129\Main.java:42: 错误: 需要class, interface或enum
typedef pair<int, int> ii;
^
0_0_18066774_1129\Main.java:43: 错误: 需要class, interface或enum
typedef vector<ii> vii;
^
0_0_18066774_1129\Main.java:44: 错误: 需要class, interface或enum
typedef vector<string> vs;
^
0_0_18066774_1129\Main.java:45: 错误: 需要class, interface或enum
typedef vector<vi> vvi;
^
0_0_18066774_1129\Main.java:50: 错误: 需要class, interface或enum
const int BUF=40000000;
^
0_0_18066774_1129\Main.java:51: 错误: 需要class, interface或enum
char Buf[BUF],*buf=Buf;
^
0_0_18066774_1129\Main.java:52: 错误: 需要class, interface或enum
const int OUT=20000000;
^
0_0_18066774_1129\Main.java:53: 错误: 需要class, interface或enum
char Out[OUT],*ou=Out;int Outn[30],Outcnt;
^
0_0_18066774_1129\Main.java:53: 错误: 需要class, interface或enum
char Out[OUT],*ou=Out;int Outn[30],Outcnt;
^
0_0_18066774_1129\Main.java:54: 错误: 需要class, interface或enum
inline void write(int x){
^
0_0_18066774_1129\Main.java:56: 错误: 需要class, interface或enum
else{
^
0_0_18066774_1129\Main.java:57: 错误: 需要class, interface或enum
for(Outcnt=0;x;x/=10)Outn[++Outcnt]=x%10+48;
^
0_0_18066774_1129\Main.java:57: 错误: 需要class, interface或enum
for(Outcnt=0;x;x/=10)Outn[++Outcnt]=x%10+48;
^
0_0_18066774_1129\Main.java:58: 错误: 需要class, interface或enum
while(Outcnt)*ou++=Outn[Outcnt--];
^
0_0_18066774_1129\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_18066774_1129\Main.java:63: 错误: 需要class, interface或enum
else{
^
0_0_18066774_1129\Main.java:64: 错误: 需要class, interface或enum
for(Outcnt=0;x;x/=10)Outn[++Outcnt]=x%10+48;
^
0_0_18066774_1129\Main.java:64: 错误: 需要class, interface或enum
for(Outcnt=0;x;x/=10)Outn[++Outcnt]=x%10+48;
^
0_0_18066774_1129\Main.java:65: 错误: 需要class, interface或enum
while(Outcnt)*ou++=Outn[Outcnt--];
^
0_0_18066774_1129\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_18066774_1129\Main.java:68: 错误: 需要class, interface或enum
inline void writechar(char x){*ou++=x;}
^
0_0_18066774_1129\Main.java:69: 错误: 需要class, interface或enum
inline void writeln(){*ou++='\n';}
^
0_0_18066774_1129\Main.java:70: 错误: 需要class, interface或enum
inline void writespace(){*ou++=' ';}
^
0_0_18066774_1129\Main.java:71: 错误: 需要class, interface或enum
inline void read(int&a){for(a=0;*buf<48;buf++);while(*buf>47)a=a*10+*buf++-48;}
^
0_0_18066774_1129\Main.java:71: 错误: 需要class, interface或enum
inline void read(int&a){for(a=0;*buf<48;buf++);while(*buf>47)a=a*10+*buf++-48;}
^
0_0_18066774_1129\Main.java:71: 错误: 需要class, interface或enum
inline void read(int&a){for(a=0;*buf<48;buf++);while(*buf>47)a=a*10+*buf++-48;}
^
0_0_18066774_1129\Main.java:71: 错误: 需要class, interface或enum
inline void read(int&a){for(a=0;*buf<48;buf++);while(*buf>47)a=a*10+*buf++-48;}
^
0_0_18066774_1129\Main.java:73: 错误: 需要'{'
template<class T> T abs(T x) {
^
0_0_18066774_1129\Main.java:74: 错误: 非法的类型开始
return x > 0 ? x : -x;
^
0_0_18066774_1129\Main.java:74: 错误: 需要';'
return x > 0 ? x : -x;
^
0_0_18066774_1129\Main.java:74: 错误: 非法的类型开始
return x > 0 ? x : -x;
^
0_0_18066774_1129\Main.java:74: 错误: 需要<标识符>
return x > 0 ? x : -x;
^
0_0_18066774_1129\Main.java:74: 错误: 需要';'
return x > 0 ? x : -x;
^
0_0_18066774_1129\Main.java:74: 错误: 需要<标识符>
return x > 0 ? x : -x;
^
0_0_18066774_1129\Main.java:74: 错误: 非法的类型开始
return x > 0 ? x : -x;
^
0_0_18066774_1129\Main.java:77: 错误: 需要class, interface或enum
template<class T> T inline fast_pow(T x,T n,T mod){
^
0_0_18066774_1129\Main.java:77: 错误: 需要'{'
template<class T> T inline fast_pow(T x,T n,T mod){
^
0_0_18066774_1129\Main.java:79: 错误: 非法的类型开始
while(n>0){
^
0_0_18066774_1129\Main.java:79: 错误: 需要<标识符>
while(n>0){
^
0_0_18066774_1129\Main.java:79: 错误: 需要';'
while(n>0){
^
0_0_18066774_1129\Main.java:79: 错误: 非法的类型开始
while(n>0){
^
0_0_18066774_1129\Main.java:79: 错误: 需要<标识符>
while(n>0){
^
0_0_18066774_1129\Main.java:79: 错误: 需要';'
while(n>0){
^
0_0_18066774_1129\Main.java:80: 错误: 非法的类型开始
if(n&1)res=res*x%mod;
^
0_0_18066774_1129\Main.java:80: 错误: 需要';'
if(n&1)res=res*x%mod;
^
0_0_18066774_1129\Main.java:80: 错误: 需要<标识符>
if(n&1)res=res*x%mod;
^
0_0_18066774_1129\Main.java:81: 错误: 需要<标识符>
x=x*x%mod;
^
0_0_18066774_1129\Main.java:82: 错误: 需要<标识符>
n>>=1;
^
0_0_18066774_1129\Main.java:84: 错误: 需要class, interface或enum
return res;
^
0_0_18066774_1129\Main.java:85: 错误: 需要class, interface或enum
}
^
0_0_18066774_1129\Main.java:87: 错误: 需要'{'
template<class T> T gcd(T a,T b) {
^
0_0_18066774_1129\Main.java:88: 错误: 非法的类型开始
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 需要';'
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 非法的类型开始
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 需要<标识符>
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 需要';'
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 需要<标识符>
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 方法声明无效; 需要返回类型
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 需要<标识符>
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 需要<标识符>
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 需要';'
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 非法的类型开始
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\Main.java:88: 错误: 需要<标识符>
return b==0?a:gcd(b,a%b);
^
0_0_18066774_1129\M
|