0_0_26039401_20260\Main.java:1: 错误: 需要class, interface或enum
nclude <iostream>
^
0_0_26039401_20260\Main.java:2: 错误: 非法字符: '#'
#include <cmath>
^
0_0_26039401_20260\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_26039401_20260\Main.java:4: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_26039401_20260\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_26039401_20260\Main.java:6: 错误: 非法字符: '#'
#include <vector>
^
0_0_26039401_20260\Main.java:7: 错误: 非法字符: '#'
#include <cassert>
^
0_0_26039401_20260\Main.java:9: 错误: 需要class, interface或enum
const int mo=998244353;
^
0_0_26039401_20260\Main.java:10: 错误: 需要class, interface或enum
long long n;
^
0_0_26039401_20260\Main.java:11: 错误: 需要class, interface或enum
const int N=1000000,M=710000;
^
0_0_26039401_20260\Main.java:12: 错误: 需要class, interface或enum
int prime[N+10],pd[N+10],len,sump[N+10],miu[N+10],h[N+10];
^
0_0_26039401_20260\Main.java:13: 错误: 需要class, interface或enum
int f[M],m,lim[M],pre[M];
^
0_0_26039401_20260\Main.java:14: 错误: 需要class, interface或enum
long long v[M];
^
0_0_26039401_20260\Main.java:15: 错误: 需要class, interface或enum
int getid(long long k){
^
0_0_26039401_20260\Main.java:16: 错误: 需要class, interface或enum
if (k<=m) return k; return n/k+m;
^
0_0_26039401_20260\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:20: 错误: 需要class, interface或enum
int now=f[where],l=pre[where],r=min(R,lim[where]);
^
0_0_26039401_20260\Main.java:21: 错误: 需要class, interface或enum
if (l<r) now=(now-(sump[r]-sump[l]+mo)%mo+mo)%mo;
^
0_0_26039401_20260\Main.java:22: 错误: 需要class, interface或enum
return now;
^
0_0_26039401_20260\Main.java:23: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:25: 错误: 需要class, interface或enum
m=1; while (1ll*m*m<=n) m++; --m;
^
0_0_26039401_20260\Main.java:25: 错误: 需要class, interface或enum
m=1; while (1ll*m*m<=n) m++; --m;
^
0_0_26039401_20260\Main.java:26: 错误: 需要class, interface或enum
for (int i=1;i<=m;i++) f[i]=1ll*i*(i+1)/2%mo,v[i]=i;
^
0_0_26039401_20260\Main.java:26: 错误: 需要class, interface或enum
for (int i=1;i<=m;i++) f[i]=1ll*i*(i+1)/2%mo,v[i]=i;
^
0_0_26039401_20260\Main.java:26: 错误: 需要class, interface或enum
for (int i=1;i<=m;i++) f[i]=1ll*i*(i+1)/2%mo,v[i]=i;
^
0_0_26039401_20260\Main.java:27: 错误: 需要class, interface或enum
for (int i=1;i<=m;i++){
^
0_0_26039401_20260\Main.java:27: 错误: 需要class, interface或enum
for (int i=1;i<=m;i++){
^
0_0_26039401_20260\Main.java:27: 错误: 需要class, interface或enum
for (int i=1;i<=m;i++){
^
0_0_26039401_20260\Main.java:28: 错误: 需要class, interface或enum
int now=n/i%mo; f[i+m]=1ll*now*(now+1)/2%mo; v[i+m]=n/i;
^
0_0_26039401_20260\Main.java:28: 错误: 需要class, interface或enum
int now=n/i%mo; f[i+m]=1ll*now*(now+1)/2%mo; v[i+m]=n/i;
^
0_0_26039401_20260\Main.java:29: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:30: 错误: 需要class, interface或enum
for (int i=1;i<=m*2;i++) pre[i]=0;
^
0_0_26039401_20260\Main.java:30: 错误: 需要class, interface或enum
for (int i=1;i<=m*2;i++) pre[i]=0;
^
0_0_26039401_20260\Main.java:31: 错误: 需要class, interface或enum
for (int i=1;i<=m;i++) lim[i]=pd[i];
^
0_0_26039401_20260\Main.java:31: 错误: 需要class, interface或enum
for (int i=1;i<=m;i++) lim[i]=pd[i];
^
0_0_26039401_20260\Main.java:31: 错误: 需要class, interface或enum
for (int i=1;i<=m;i++) lim[i]=pd[i];
^
0_0_26039401_20260\Main.java:32: 错误: 需要class, interface或enum
for (int i=m+1;i<=m*2;i++) lim[i]=len;
^
0_0_26039401_20260\Main.java:32: 错误: 需要class, interface或enum
for (int i=m+1;i<=m*2;i++) lim[i]=len;
^
0_0_26039401_20260\Main.java:32: 错误: 需要class, interface或enum
for (int i=m+1;i<=m*2;i++) lim[i]=len;
^
0_0_26039401_20260\Main.java:33: 错误: 需要class, interface或enum
int la=0;
^
0_0_26039401_20260\Main.java:34: 错误: 需要class, interface或enum
for (int i=1;i<=len&&prime[i]<=m;i++){
^
0_0_26039401_20260\Main.java:34: 错误: 需要class, interface或enum
for (int i=1;i<=len&&prime[i]<=m;i++){
^
0_0_26039401_20260\Main.java:34: 错误: 需要class, interface或enum
for (int i=1;i<=len&&prime[i]<=m;i++){
^
0_0_26039401_20260\Main.java:35: 错误: 需要class, interface或enum
int lim=m,s=0; long long K=1ll*prime[i]*prime[i]; la=i;
^
0_0_26039401_20260\Main.java:35: 错误: 需要class, interface或enum
int lim=m,s=0; long long K=1ll*prime[i]*prime[i]; la=i;
^
0_0_26039401_20260\Main.java:36: 错误: 需要class, interface或enum
for (int j=m+1;j<=2*m&&v[j]>=K;j++)
^
0_0_26039401_20260\Main.java:36: 错误: 需要class, interface或enum
for (int j=m+1;j<=2*m&&v[j]>=K;j++)
^
0_0_26039401_20260\Main.java:36: 错误: 需要class, interface或enum
for (int j=m+1;j<=2*m&&v[j]>=K;j++)
^
0_0_26039401_20260\Main.java:38: 错误: 需要class, interface或enum
for (int j=m;j&&v[j]>=K;j--)
^
0_0_26039401_20260\Main.java:38: 错误: 需要class, interface或enum
for (int j=m;j&&v[j]>=K;j--)
^
0_0_26039401_20260\Main.java:38: 错误: 需要class, interface或enum
for (int j=m;j&&v[j]>=K;j--)
^
0_0_26039401_20260\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:45: 错误: 需要class, interface或enum
if (k1==k2) return 0;
^
0_0_26039401_20260\Main.java:46: 错误: 需要class, interface或enum
int k=k1; int ans=0;
^
0_0_26039401_20260\Main.java:46: 错误: 需要class, interface或enum
int k=k1; int ans=0;
^
0_0_26039401_20260\Main.java:47: 错误: 需要class, interface或enum
for (int i=2;i*i<=k;i++)
^
0_0_26039401_20260\Main.java:47: 错误: 需要class, interface或enum
for (int i=2;i*i<=k;i++)
^
0_0_26039401_20260\Main.java:47: 错误: 需要class, interface或enum
for (int i=2;i*i<=k;i++)
^
0_0_26039401_20260\Main.java:50: 错误: 需要class, interface或enum
while (k%i==0) k/=i;
^
0_0_26039401_20260\Main.java:51: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:53: 错误: 需要class, interface或enum
k=k2;
^
0_0_26039401_20260\Main.java:54: 错误: 需要class, interface或enum
for (int i=2;i*i<=k;i++)
^
0_0_26039401_20260\Main.java:54: 错误: 需要class, interface或enum
for (int i=2;i*i<=k;i++)
^
0_0_26039401_20260\Main.java:54: 错误: 需要class, interface或enum
for (int i=2;i*i<=k;i++)
^
0_0_26039401_20260\Main.java:57: 错误: 需要class, interface或enum
while (k%i==0) k/=i;
^
0_0_26039401_20260\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:60: 错误: 需要class, interface或enum
sort(A.begin(),A.end());
^
0_0_26039401_20260\Main.java:61: 错误: 需要class, interface或enum
A.resize(unique(A.begin(),A.end())-A.begin());
^
0_0_26039401_20260\Main.java:62: 错误: 需要class, interface或enum
for (int i=0;i<A.size();i++){
^
0_0_26039401_20260\Main.java:62: 错误: 需要class, interface或enum
for (int i=0;i<A.size();i++){
^
0_0_26039401_20260\Main.java:62: 错误: 需要class, interface或enum
for (int i=0;i<A.size();i++){
^
0_0_26039401_20260\Main.java:64: 错误: 需要class, interface或enum
while (k1%A[i]==0){
^
0_0_26039401_20260\Main.java:65: 错误: 需要class, interface或enum
num^=1; k1/=A[i];
^
0_0_26039401_20260\Main.java:66: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:68: 错误: 需要class, interface或enum
num^=1; k2/=A[i];
^
0_0_26039401_20260\Main.java:69: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:72: 错误: 需要class, interface或enum
if (ans==0) return 1; else return ans;
^
0_0_26039401_20260\Main.java:73: 错误: 需要class, interface或enum
}
^
0_0_26039401_20260\Main.java:76: 错误: 需要class, interface或enum
int ans=0;
^
0_0_26039401_20260\Main.java:77: 错误: 需要class, interface或enum
for (int i=1;1ll*i*i<=n;i++)
^
0_0_26039401_20260\Main.java:77: 错误: 需要class, interface或enum
for (int i=1;1ll*i*i<=n;i++)
^
0_0_26039401_20260\Main.java:77: 错误: 需要class, interface或enum
for (int i=1;1ll*i*i<=n;i++)
^
0_0_26039401_20260\Main.java:79: 错误: 需要class, int
|