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_33524809_17651\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_33524809_17651\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_33524809_17651\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_33524809_17651\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_33524809_17651\Main.java:6: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_33524809_17651\Main.java:7: 错误: 需要class, interface或enum
const int N = 100005;
^
0_0_33524809_17651\Main.java:8: 错误: 需要class, interface或enum
const LL MOD = 1000000009;
^
0_0_33524809_17651\Main.java:10: 错误: 需要class, interface或enum
LL fac[N],A[N],B[N];
^
0_0_33524809_17651\Main.java:12: 错误: 需要class, interface或enum
void Init()
^
0_0_33524809_17651\Main.java:15: 错误: 需要class, interface或enum
    for(int i=1; i<N; i++)
    ^
0_0_33524809_17651\Main.java:15: 错误: 需要class, interface或enum
    for(int i=1; i<N; i++)
                 ^
0_0_33524809_17651\Main.java:15: 错误: 需要class, interface或enum
    for(int i=1; i<N; i++)
                      ^
0_0_33524809_17651\Main.java:17: 错误: 需要class, interface或enum
    A[0] = B[0] = 1;
    ^
0_0_33524809_17651\Main.java:18: 错误: 需要class, interface或enum
    for(int i=1; i<N; i++)
    ^
0_0_33524809_17651\Main.java:18: 错误: 需要class, interface或enum
    for(int i=1; i<N; i++)
                 ^
0_0_33524809_17651\Main.java:18: 错误: 需要class, interface或enum
    for(int i=1; i<N; i++)
                      ^
0_0_33524809_17651\Main.java:21: 错误: 需要class, interface或enum
        B[i] = B[i-1] * 308495997 % MOD;
        ^
0_0_33524809_17651\Main.java:22: 错误: 需要class, interface或enum
    }
    ^
0_0_33524809_17651\Main.java:28: 错误: 需要class, interface或enum
    a %= MOD;
    ^
0_0_33524809_17651\Main.java:29: 错误: 需要class, interface或enum
    while(b)
    ^
0_0_33524809_17651\Main.java:34: 错误: 需要class, interface或enum
            b--;
            ^
0_0_33524809_17651\Main.java:35: 错误: 需要class, interface或enum
        }
        ^
0_0_33524809_17651\Main.java:37: 错误: 需要class, interface或enum
        a = a * a % MOD;
        ^
0_0_33524809_17651\Main.java:38: 错误: 需要class, interface或enum
    }
    ^
0_0_33524809_17651\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_33524809_17651\Main.java:45: 错误: 需要class, interface或enum
    LL t=A[k-0] * B[0] % MOD;
    ^
0_0_33524809_17651\Main.java:46: 错误: 需要class, interface或enum
    t=quick_mod(t,C,MOD);
    ^
0_0_33524809_17651\Main.java:47: 错误: 需要class, interface或enum
    LL tt=308495997*quick_mod(691504013,MOD-2,MOD)%MOD;
    ^
0_0_33524809_17651\Main.java:48: 错误: 需要class, interface或enum
    LL d=quick_mod(tt,C,MOD);
    ^
0_0_33524809_17651\Main.java:49: 错误: 需要class, interface或enum
    for(int r=0; r<=k; r++)
    ^
0_0_33524809_17651\Main.java:49: 错误: 需要class, interface或enum
    for(int r=0; r<=k; r++)
                 ^
0_0_33524809_17651\Main.java:49: 错误: 需要class, interface或enum
    for(int r=0; r<=k; r++)
                       ^
0_0_33524809_17651\Main.java:53: 错误: 需要class, interface或enum
        LL x = fac[k];
        ^
0_0_33524809_17651\Main.java:54: 错误: 需要class, interface或enum
        LL y = fac[k-r] * fac[r] % MOD;
        ^
0_0_33524809_17651\Main.java:55: 错误: 需要class, interface或enum
        LL c = x * quick_mod(y,MOD-2,MOD) % MOD;
        ^
0_0_33524809_17651\Main.java:56: 错误: 需要class, interface或enum
        LL tmp = t * (quick_mod(t,n,MOD) - 1) % MOD * quick_mod(t-1,MOD-2,MOD) % MOD;
        ^
0_0_33524809_17651\Main.java:57: 错误: 需要class, interface或enum
        if(t == 1) tmp = n % MOD;
        ^
0_0_33524809_17651\Main.java:58: 错误: 需要class, interface或enum
        tmp = tmp * c % MOD;
        ^
0_0_33524809_17651\Main.java:59: 错误: 需要class, interface或enum
        if(r & 1) ans -= tmp;
        ^
0_0_33524809_17651\Main.java:60: 错误: 需要class, interface或enum
        else      ans += tmp;
        ^
0_0_33524809_17651\Main.java:61: 错误: 需要class, interface或enum
        ans %= MOD;
        ^
0_0_33524809_17651\Main.java:62: 错误: 需要class, interface或enum
    }
    ^
0_0_33524809_17651\Main.java:64: 错误: 需要class, interface或enum
    ans = ans * quick_mod(m,k,MOD) % MOD;
    ^
0_0_33524809_17651\Main.java:65: 错误: 需要class, interface或enum
    ans = (ans % MOD + MOD) % MOD;
    ^
0_0_33524809_17651\Main.java:66: 错误: 需要class, interface或enum
    return ans;
    ^
0_0_33524809_17651\Main.java:67: 错误: 需要class, interface或enum
}
^
0_0_33524809_17651\Main.java:72: 错误: 需要class, interface或enum
    LL n,k;
    ^
0_0_33524809_17651\Main.java:73: 错误: 需要class, interface或enum
    LL C;
    ^
0_0_33524809_17651\Main.java:74: 错误: 需要class, interface或enum
    Init();
    ^
0_0_33524809_17651\Main.java:75: 错误: 需要class, interface或enum
    scanf("%d",&T);
    ^
0_0_33524809_17651\Main.java:76: 错误: 需要class, interface或enum
    while(T--)
    ^
0_0_33524809_17651\Main.java:79: 错误: 需要class, interface或enum
        long long int kk=Solve(n,C,k);
        ^
0_0_33524809_17651\Main.java:80: 错误: 需要class, interface或enum
        printf("%lld\n",kk);
        ^
0_0_33524809_17651\Main.java:81: 错误: 需要class, interface或enum
    }
    ^
0_0_33524809_17651\Main.java:83: 错误: 需要class, interface或enum
}
^
55 个错误


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-11-26 16:06:58, Gzip enabled