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_26154574_17898\Main.java:3: 错误: 非法字符: '#'
#include<cmath>
^
0_0_26154574_17898\Main.java:3: 错误: 需要class, interface或enum
#include<cmath>
        ^
0_0_26154574_17898\Main.java:4: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_26154574_17898\Main.java:5: 错误: 非法字符: '#'
#include<cstring>
^
0_0_26154574_17898\Main.java:6: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_26154574_17898\Main.java:7: 错误: 非法字符: '#'
#include<iostream>
^
0_0_26154574_17898\Main.java:8: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_26154574_17898\Main.java:9: 错误: 非法字符: '#'
#include<set>
^
0_0_26154574_17898\Main.java:10: 错误: 非法字符: '#'
#include<map>
^
0_0_26154574_17898\Main.java:11: 错误: 非法字符: '#'
#include<queue>
^
0_0_26154574_17898\Main.java:12: 错误: 非法字符: '#'
#include<stack>
^
0_0_26154574_17898\Main.java:13: 错误: 非法字符: '#'
#include<vector>
^
0_0_26154574_17898\Main.java:14: 错误: 非法字符: '#'
#include<string>
^
0_0_26154574_17898\Main.java:15: 错误: 非法字符: '#'
#include<functional>            
^
0_0_26154574_17898\Main.java:16: 错误: 非法字符: '#'
#include<fstream>
^
0_0_26154574_17898\Main.java:17: 错误: 非法字符: '#'
#include<ctime>
^
0_0_26154574_17898\Main.java:18: 错误: 非法字符: '#'
#include<bitset>
^
0_0_26154574_17898\Main.java:19: 错误: 非法字符: '#'
#include<sstream>
^
0_0_26154574_17898\Main.java:20: 错误: 非法字符: '#'
#include<cassert>
^
0_0_26154574_17898\Main.java:23: 错误: 非法字符: '#'
#define SZ(x) ((int)(x).size())
^
0_0_26154574_17898\Main.java:23: 错误: 需要class, interface或enum
#define SZ(x) ((int)(x).size())
        ^
0_0_26154574_17898\Main.java:24: 错误: 非法字符: '#'
#define ALL(x) (x).begin(),(x).end()
^
0_0_26154574_17898\Main.java:25: 错误: 非法字符: '#'
#define INS(x) inserter(x,x.begin())
^
0_0_26154574_17898\Main.java:26: 错误: 非法字符: '#'
#define pb push_back
^
0_0_26154574_17898\Main.java:27: 错误: 非法字符: '#'
#define mp make_pair
^
0_0_26154574_17898\Main.java:28: 错误: 非法字符: '#'
#define rep(i,l,r) for (int i=l;i<r;i++)
^
0_0_26154574_17898\Main.java:28: 错误: 需要class, interface或enum
#define rep(i,l,r) for (int i=l;i<r;i++)
                                ^
0_0_26154574_17898\Main.java:28: 错误: 需要class, interface或enum
#define rep(i,l,r) for (int i=l;i<r;i++)
                                    ^
0_0_26154574_17898\Main.java:29: 错误: 非法字符: '#'
#define per(i,l,r) for (int i=r-1;i>=l;i--)
^
0_0_26154574_17898\Main.java:29: 错误: 需要class, interface或enum
#define per(i,l,r) for (int i=r-1;i>=l;i--)
                                  ^
0_0_26154574_17898\Main.java:29: 错误: 需要class, interface或enum
#define per(i,l,r) for (int i=r-1;i>=l;i--)
                                       ^
0_0_26154574_17898\Main.java:32: 错误: 需要class, interface或enum
ll n, m,fac[100010];
^
0_0_26154574_17898\Main.java:33: 错误: 需要class, interface或enum
int k;
^
0_0_26154574_17898\Main.java:35: 错误: 需要class, interface或enum
ll a[20], mod[20];
^
0_0_26154574_17898\Main.java:36: 错误: 需要class, interface或enum
void getFactor(int p){//求阶乘 
^
0_0_26154574_17898\Main.java:38: 错误: 需要class, interface或enum
    for(int j=1;j<=p;j++)
    ^
0_0_26154574_17898\Main.java:38: 错误: 需要class, interface或enum
    for(int j=1;j<=p;j++)
                ^
0_0_26154574_17898\Main.java:38: 错误: 需要class, interface或enum
    for(int j=1;j<=p;j++)
                     ^
0_0_26154574_17898\Main.java:40: 错误: 需要class, interface或enum
}
^
0_0_26154574_17898\Main.java:42: 错误: 需要class, interface或enum
	if (!b){ d = a; x = 1; y = 0; }
	                ^
0_0_26154574_17898\Main.java:42: 错误: 需要class, interface或enum
	if (!b){ d = a; x = 1; y = 0; }
	                       ^
0_0_26154574_17898\Main.java:42: 错误: 需要class, interface或enum
	if (!b){ d = a; x = 1; y = 0; }
	                              ^
0_0_26154574_17898\Main.java:43: 错误: 需要class, interface或enum
	else{ gcd(b, a%b, d, y, x); y -= x*(a / b); }
	                            ^
0_0_26154574_17898\Main.java:43: 错误: 需要class, interface或enum
	else{ gcd(b, a%b, d, y, x); y -= x*(a / b); }
	                                            ^
0_0_26154574_17898\Main.java:47: 错误: 需要class, interface或enum
	b%=MOD; 
	^
0_0_26154574_17898\Main.java:48: 错误: 需要class, interface或enum
    ll ret = 0;
    ^
0_0_26154574_17898\Main.java:49: 错误: 需要class, interface或enum
    while(b) {
    ^
0_0_26154574_17898\Main.java:52: 错误: 需要class, interface或enum
			if(ret>=MOD)
			^
0_0_26154574_17898\Main.java:54: 错误: 需要class, interface或enum
        } 
        ^
0_0_26154574_17898\Main.java:56: 错误: 需要class, interface或enum
		if(a>=MOD)
		^
0_0_26154574_17898\Main.java:58: 错误: 需要class, interface或enum
        b >>= 1;
        ^
0_0_26154574_17898\Main.java:59: 错误: 需要class, interface或enum
    }
    ^
0_0_26154574_17898\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_26154574_17898\Main.java:65: 错误: 需要class, interface或enum
	for (int i = 0; i < k; i++) M *= mod[i];
	^
0_0_26154574_17898\Main.java:65: 错误: 需要class, interface或enum
	for (int i = 0; i < k; i++) M *= mod[i];
	                ^
0_0_26154574_17898\Main.java:65: 错误: 需要class, interface或enum
	for (int i = 0; i < k; i++) M *= mod[i];
	                       ^
0_0_26154574_17898\Main.java:66: 错误: 需要class, interface或enum
	for (int i = 0; i < k; i++){
	^
0_0_26154574_17898\Main.java:66: 错误: 需要class, interface或enum
	for (int i = 0; i < k; i++){
	                ^
0_0_26154574_17898\Main.java:66: 错误: 需要class, interface或enum
	for (int i = 0; i < k; i++){
	                       ^
0_0_26154574_17898\Main.java:68: 错误: 需要class, interface或enum
		gcd(mod[i], w, d, d, y);
		^
0_0_26154574_17898\Main.java:69: 错误: 需要class, interface或enum
		x = (x + qmul(qmul(y,w,M),a[i],M))%M;//不能用y*w*a[i];两个long long的数相乘要用快速乘 
		^
0_0_26154574_17898\Main.java:70: 错误: 需要class, interface或enum
	}
	^
0_0_26154574_17898\Main.java:72: 错误: 需要class, interface或enum
}
^
0_0_26154574_17898\Main.java:86: 错误: 需要class, interface或enum
    while(k){
    ^
0_0_26154574_17898\Main.java:88: 错误: 需要class, interface或enum
        a=(a*a)%mod;
        ^
0_0_26154574_17898\Main.java:89: 错误: 需要class, interface或enum
        k>>=1;
        ^
0_0_26154574_17898\Main.java:90: 错误: 需要class, interface或enum
    }
    ^
0_0_26154574_17898\Main.java:92: 错误: 需要class, interface或enum
}
^
0_0_26154574_17898\Main.java:95: 错误: 需要class, interface或enum
    while(n && m) {
    ^
0_0_26154574_17898\Main.java:97: 错误: 需要class, interface或enum
        if(a<b) return 0; 
        ^
0_0_26154574_17898\Main.java:98: 错误: 需要class, interface或enum
        ret = (ret * fac[a] * fast_pow(fac[b]*fac[a-b]%p, p-2, p)) % p;
        ^
0_0_26154574_17898\Main.java:99: 错误: 需要class, interface或enum
        n/=p;
        ^
0_0_26154574_17898\Main.java:100: 错误: 需要class, interface或enum
        m/=p;
        ^
0_0_26154574_17898\Main.java:101: 错误: 需要class, interface或enum
    }
    ^
0_0_26154574_17898\Main.java:103: 错误: 需要class, interface或enum
}//用下面的就超时 
^
0_0_26154574_17898\Main.java:116: 错误: 需要class, interface或enum
	cin >> T;
	^
0_0_26154574_17898\Main.java:117: 错误: 需要class, interface或enum
	while (T--){
	^
0_0_26154574_17898\Main.java:119: 错误: 需要class, interface或enum
		for (int i = 0; i < k; i++) scanf("%d",&mod[i]);
		^
0_0_26154574_17898\Main.java:119: 错误: 需要class, interface或enum
		for (int i = 0; i < k; i++) scanf("%d",&mod[i]);
		                ^
0_0_26154574_17898\Main.java:119: 错误: 需要class, interface或enum
		for (int i = 0; i < k; i++) scanf("%d",&mod[i]);
		                       ^
0_0_26154574_17898\Main.java:120: 错误: 需要class, interface或enum
		for (int i = 0; i < k; i++){
		^
0_0_26154574_17898\Main.java:120: 错误: 需要class, interface或enum
		for (int i = 0; i < k; i++){
		                ^
0_0_26154574_17898\Main.java:120: 错误: 需要class, interface或enum
		for (int i = 0; i < k; i++){
		                       ^
0_0_26154574_17898\Main.java:122: 错误: 需要class, interface或enum
			a[i] = Lucas(n, m, mod[i]);
			^
0_0_26154574_17898\Main.java:123: 错误: 需要class, interface或enum
		}
		^
0_0_26154574_17898\Main.java:126: 错误: 需要class, interface或enum
		printf("%lld\n",ans);
		^
0_0_26154574_17898\Main.java:127: 错误: 需要class, interface或enum
	}
	^
0_0_26154574_17898\Main.java:129: 错误: 需要class, interface或enum
}
^
88 个错误


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-28 22:00:39, Gzip enabled