F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_30429669_15616\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_30429669_15616\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_30429669_15616\Main.java:3: 错误: 非法字符: '#'
#define rep(i,a,n) for (int i=a;i<n;i++)
^
0_0_30429669_15616\Main.java:3: 错误: 需要class, interface或enum
#define rep(i,a,n) for (int i=a;i<n;i++)
        ^
0_0_30429669_15616\Main.java:3: 错误: 需要class, interface或enum
#define rep(i,a,n) for (int i=a;i<n;i++)
                                ^
0_0_30429669_15616\Main.java:3: 错误: 需要class, interface或enum
#define rep(i,a,n) for (int i=a;i<n;i++)
                                    ^
0_0_30429669_15616\Main.java:5: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_30429669_15616\Main.java:6: 错误: 需要class, interface或enum
const ll mod=119;
^
0_0_30429669_15616\Main.java:8: 错误: 需要class, interface或enum
ll qpow(ll x,ll n)
^
0_0_30429669_15616\Main.java:11: 错误: 需要class, interface或enum
    for(; n; x=x*x%mod,n>>=1)
    ^
0_0_30429669_15616\Main.java:11: 错误: 需要class, interface或enum
    for(; n; x=x*x%mod,n>>=1)
          ^
0_0_30429669_15616\Main.java:11: 错误: 需要class, interface或enum
    for(; n; x=x*x%mod,n>>=1)
             ^
0_0_30429669_15616\Main.java:14: 错误: 需要class, interface或enum
    return res;
    ^
0_0_30429669_15616\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_30429669_15616\Main.java:21: 错误: 需要class, interface或enum
ll res[N],base[N],c[N],md[N];
^
0_0_30429669_15616\Main.java:23: 错误: 需要class, interface或enum
int umd[N],sizumd;
^
0_0_30429669_15616\Main.java:24: 错误: 需要class, interface或enum
void mul(ll *a,ll *b,int k)
^
0_0_30429669_15616\Main.java:27: 错误: 需要class, interface或enum
    rep(i,0,k) if (a[i])
    ^
0_0_30429669_15616\Main.java:30: 错误: 需要class, interface或enum
    for (int i=k+k-1; i>=k; i--)
    ^
0_0_30429669_15616\Main.java:30: 错误: 需要class, interface或enum
    for (int i=k+k-1; i>=k; i--)
                      ^
0_0_30429669_15616\Main.java:30: 错误: 需要class, interface或enum
    for (int i=k+k-1; i>=k; i--)
                            ^
0_0_30429669_15616\Main.java:34: 错误: 需要class, interface或enum
    rep(i,0,k) a[i]=c[i];
    ^
0_0_30429669_15616\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_30429669_15616\Main.java:41: 错误: 需要class, interface或enum
    int k=a.size();
    ^
0_0_30429669_15616\Main.java:42: 错误: 需要class, interface或enum
    rep(i,0,k) md[k-1-i]=-a[i];
    ^
0_0_30429669_15616\Main.java:43: 错误: 需要class, interface或enum
    md[k]=1;
    ^
0_0_30429669_15616\Main.java:44: 错误: 需要class, interface或enum
    sizumd=0;
    ^
0_0_30429669_15616\Main.java:45: 错误: 需要class, interface或enum
    rep(i,0,k)
    ^
0_0_30429669_15616\Main.java:49: 错误: 需要class, interface或enum
    }
    ^
0_0_30429669_15616\Main.java:51: 错误: 需要class, interface或enum
    res[0]=1;
    ^
0_0_30429669_15616\Main.java:53: 错误: 需要class, interface或enum
    while ((1ll<<pnt)<=n)
    ^
0_0_30429669_15616\Main.java:55: 错误: 需要class, interface或enum
    for (int p=pnt; p>=0; p--)
    ^
0_0_30429669_15616\Main.java:55: 错误: 需要class, interface或enum
    for (int p=pnt; p>=0; p--)
                    ^
0_0_30429669_15616\Main.java:55: 错误: 需要class, interface或enum
    for (int p=pnt; p>=0; p--)
                          ^
0_0_30429669_15616\Main.java:58: 错误: 需要class, interface或enum
        if ((n>>p)&1)
        ^
0_0_30429669_15616\Main.java:60: 错误: 需要class, interface或enum
            for (int i=k-1; i>=0; i--)
                            ^
0_0_30429669_15616\Main.java:60: 错误: 需要class, interface或enum
            for (int i=k-1; i>=0; i--)
                                  ^
0_0_30429669_15616\Main.java:62: 错误: 需要class, interface或enum
            res[0]=0;
            ^
0_0_30429669_15616\Main.java:63: 错误: 需要class, interface或enum
            rep(j,0,sizumd) res[umd[j]]=(res[umd[j]]-res[k]*md[umd[j]])%mod;
            ^
0_0_30429669_15616\Main.java:64: 错误: 需要class, interface或enum
        }
        ^
0_0_30429669_15616\Main.java:67: 错误: 需要class, interface或enum
    if (ans<0)
    ^
0_0_30429669_15616\Main.java:69: 错误: 需要class, interface或enum
    return ans;
    ^
0_0_30429669_15616\Main.java:70: 错误: 需要class, interface或enum
}
^
0_0_30429669_15616\Main.java:74: 错误: 需要class, interface或enum
    int L=0,m=1,b=1;
    ^
0_0_30429669_15616\Main.java:75: 错误: 需要class, interface或enum
    int sizs=s.size();
    ^
0_0_30429669_15616\Main.java:76: 错误: 需要class, interface或enum
    rep(n,0,sizs)
    ^
0_0_30429669_15616\Main.java:79: 错误: 需要class, interface或enum
        rep(i,0,L+1) d=(d+(ll)C[i]*s[n-i])%mod;
        ^
0_0_30429669_15616\Main.java:80: 错误: 需要class, interface或enum
        if (d==0)
        ^
0_0_30429669_15616\Main.java:82: 错误: 需要class, interface或enum
        else if (2*L<=n)
        ^
0_0_30429669_15616\Main.java:85: 错误: 需要class, interface或enum
            int sizB=B.size();
            ^
0_0_30429669_15616\Main.java:86: 错误: 需要class, interface或enum
            while (C.size()<sizB+m)
            ^
0_0_30429669_15616\Main.java:88: 错误: 需要class, interface或enum
            ll t=mod-d*qpow(b,mod-2)%mod;
            ^
0_0_30429669_15616\Main.java:89: 错误: 需要class, interface或enum
            rep(i,0,sizB) C[i+m]=(C[i+m]+t*B[i])%mod;
            ^
0_0_30429669_15616\Main.java:90: 错误: 需要class, interface或enum
            L=n+1-L,B=T,b=d,m=1;
            ^
0_0_30429669_15616\Main.java:91: 错误: 需要class, interface或enum
        }
        ^
0_0_30429669_15616\Main.java:95: 错误: 需要class, interface或enum
            while (C.size()<sizB+m)
            ^
0_0_30429669_15616\Main.java:97: 错误: 需要class, interface或enum
            ll t=mod-d*qpow(b,mod-2)%mod;
            ^
0_0_30429669_15616\Main.java:98: 错误: 需要class, interface或enum
            rep(i,0,sizB) C[i+m]=(C[i+m]+t*B[i])%mod;
            ^
0_0_30429669_15616\Main.java:99: 错误: 需要class, interface或enum
            ++m;
            ^
0_0_30429669_15616\Main.java:100: 错误: 需要class, interface或enum
        }
        ^
0_0_30429669_15616\Main.java:103: 错误: 需要class, interface或enum
}
^
0_0_30429669_15616\Main.java:107: 错误: 需要class, interface或enum
    C.erase(C.begin());
    ^
0_0_30429669_15616\Main.java:108: 错误: 需要class, interface或enum
    int sizC=C.size();
    ^
0_0_30429669_15616\Main.java:109: 错误: 需要class, interface或enum
    rep(i,0,sizC) C[i]=(mod-C[i])%mod;
    ^
0_0_30429669_15616\Main.java:110: 错误: 需要class, interface或enum
    return solve(n,C,vi(A.begin(),A.begin()+sizC));
    ^
0_0_30429669_15616\Main.java:111: 错误: 需要class, interface或enum
}
^
0_0_30429669_15616\Main.java:113: 错误: 需要class, interface或enum
int n,a,b,p,q;
^
0_0_30429669_15616\Main.java:114: 错误: 需要class, interface或enum
int f[30000];
^
0_0_30429669_15616\Main.java:115: 错误: 需要class, interface或enum
int F(int x)
^
0_0_30429669_15616\Main.java:118: 错误: 需要class, interface或enum
    if(f[x])return f[x];
    ^
0_0_30429669_15616\Main.java:119: 错误: 需要class, interface或enum
    f[x]=(a*F(x-p)+b*F(x-q))%mod;
    ^
0_0_30429669_15616\Main.java:120: 错误: 需要class, interface或enum
    return f[x];
    ^
0_0_30429669_15616\Main.java:121: 错误: 需要class, interface或enum
}
^
0_0_30429669_15616\Main.java:127: 错误: 需要class, interface或enum
    while(cin>>n>>a>>b>>p>>q)
    ^
0_0_30429669_15616\Main.java:130: 错误: 需要class, interface或enum
        memset(f,0,sizeof(f));
        ^
0_0_30429669_15616\Main.java:131: 错误: 需要class, interface或enum
        for(int i=1; i<20000; i++)
        ^
0_0_30429669_15616\Main.java:131: 错误: 需要class, interface或enum
        for(int i=1; i<20000; i++)
                     ^
0_0_30429669_15616\Main.java:131: 错误: 需要class, interface或enum
        for(int i=1; i<20000; i++)
                              ^
0_0_30429669_15616\Main.java:133: 错误: 需要class, interface或enum
        printf("%lld\n",1LL * Linear_Recurrence::gao(v,n-1) % mod);
        ^
0_0_30429669_15616\Main.java:134: 错误: 需要class, interface或enum
    }
    ^
80 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-10-31 19:29:15, Gzip enabled