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_20507584_31438\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_20507584_31438\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_20507584_31438\Main.java:2: 错误: 非法字符: '#'
#include <iostream>
^
0_0_20507584_31438\Main.java:3: 错误: 非法字符: '#'
#include <string.h>
^
0_0_20507584_31438\Main.java:5: 错误: 非法字符: '#'
#define F(x,a,b) for (int x=a;x<=b;x++)
^
0_0_20507584_31438\Main.java:5: 错误: 需要class, interface或enum
#define F(x,a,b) for (int x=a;x<=b;x++)
        ^
0_0_20507584_31438\Main.java:5: 错误: 需要class, interface或enum
#define F(x,a,b) for (int x=a;x<=b;x++)
                              ^
0_0_20507584_31438\Main.java:5: 错误: 需要class, interface或enum
#define F(x,a,b) for (int x=a;x<=b;x++)
                                   ^
0_0_20507584_31438\Main.java:6: 错误: 非法字符: '#'
#define _fast F(i,1,3)F(j,1,3)F(k,1,3) b[i][j]=(b[i][j]+a[i][k]*a[k][j]%mod)%mod;
^
0_0_20507584_31438\Main.java:7: 错误: 非法字符: '#'
#define _reset F(i,1,3) F(j,1,3) {a[i][j]=b[i][j];b[i][j]=0;}
^
0_0_20507584_31438\Main.java:7: 错误: 需要class, interface或enum
#define _reset F(i,1,3) F(j,1,3) {a[i][j]=b[i][j];b[i][j]=0;}
        ^
0_0_20507584_31438\Main.java:7: 错误: 需要class, interface或enum
#define _reset F(i,1,3) F(j,1,3) {a[i][j]=b[i][j];b[i][j]=0;}
                                                  ^
0_0_20507584_31438\Main.java:7: 错误: 需要class, interface或enum
#define _reset F(i,1,3) F(j,1,3) {a[i][j]=b[i][j];b[i][j]=0;}
                                                            ^
0_0_20507584_31438\Main.java:8: 错误: 非法字符: '#'
#define _c F(i,1,3) F(j,1,3) F(k,1,3) b[i][j]=(b[i][j]+a[i][k]*c[k][j]%mod)%mod;
^
0_0_20507584_31438\Main.java:9: 错误: 非法字符: '#'
#define ll long long 
^
0_0_20507584_31438\Main.java:9: 错误: 需要class, interface或enum
#define ll long long 
        ^
0_0_20507584_31438\Main.java:11: 错误: 需要class, interface或enum
ll mod;
^
0_0_20507584_31438\Main.java:12: 错误: 需要class, interface或enum
ll p;
^
0_0_20507584_31438\Main.java:13: 错误: 需要class, interface或enum
void fastmat(ll x){
^
0_0_20507584_31438\Main.java:15: 错误: 需要class, interface或enum
	if (x&1) {fastmat(x-1); _c _reset}
	^
0_0_20507584_31438\Main.java:15: 错误: 需要class, interface或enum
	if (x&1) {fastmat(x-1); _c _reset}
	                        ^
0_0_20507584_31438\Main.java:17: 错误: 需要class, interface或enum
		fastmat(x/2); _fast _reset
		              ^
0_0_20507584_31438\Main.java:23: 错误: 需要class, interface或enum
	if (k&1) return f(x,k-1)%p*x%p;
	^
0_0_20507584_31438\Main.java:24: 错误: 需要class, interface或enum
	else{
	^
0_0_20507584_31438\Main.java:26: 错误: 需要class, interface或enum
		return t*t%p;
		^
0_0_20507584_31438\Main.java:27: 错误: 需要class, interface或enum
	}
	^
0_0_20507584_31438\Main.java:32: 错误: 需要class, interface或enum
   scanf("%d",&T);
   ^
0_0_20507584_31438\Main.java:33: 错误: 需要class, interface或enum
   while (T--)
   ^
0_0_20507584_31438\Main.java:36: 错误: 需要class, interface或enum
   	  scanf("%I64d%I64d%I64d%I64d%I64d",&n,&aa,&bb,&cc,&p);
   	  ^
0_0_20507584_31438\Main.java:37: 错误: 需要class, interface或enum
   	  mod=p-1;
   	  ^
0_0_20507584_31438\Main.java:38: 错误: 需要class, interface或enum
   	  memset(a,0,sizeof(a));
   	  ^
0_0_20507584_31438\Main.java:39: 错误: 需要class, interface或enum
   	  memset(b,0,sizeof(b));
   	  ^
0_0_20507584_31438\Main.java:40: 错误: 需要class, interface或enum
   	  a[1][1]=cc;a[1][2]=1;a[1][3]=1;a[2][1]=1;a[3][3]=1;
   	  ^
0_0_20507584_31438\Main.java:40: 错误: 需要class, interface或enum
   	  a[1][1]=cc;a[1][2]=1;a[1][3]=1;a[2][1]=1;a[3][3]=1;
   	             ^
0_0_20507584_31438\Main.java:40: 错误: 需要class, interface或enum
   	  a[1][1]=cc;a[1][2]=1;a[1][3]=1;a[2][1]=1;a[3][3]=1;
   	                       ^
0_0_20507584_31438\Main.java:40: 错误: 需要class, interface或enum
   	  a[1][1]=cc;a[1][2]=1;a[1][3]=1;a[2][1]=1;a[3][3]=1;
   	                                 ^
0_0_20507584_31438\Main.java:40: 错误: 需要class, interface或enum
   	  a[1][1]=cc;a[1][2]=1;a[1][3]=1;a[2][1]=1;a[3][3]=1;
   	                                           ^
0_0_20507584_31438\Main.java:41: 错误: 需要class, interface或enum
   	  for (int i=1;i<=3;i++)
   	  ^
0_0_20507584_31438\Main.java:41: 错误: 需要class, interface或enum
   	  for (int i=1;i<=3;i++)
   	               ^
0_0_20507584_31438\Main.java:41: 错误: 需要class, interface或enum
   	  for (int i=1;i<=3;i++)
   	                    ^
0_0_20507584_31438\Main.java:42: 错误: 需要class, interface或enum
   	  	for (int j=1;j<=3;j++)
   	  	             ^
0_0_20507584_31438\Main.java:42: 错误: 需要class, interface或enum
   	  	for (int j=1;j<=3;j++)
   	  	                  ^
0_0_20507584_31438\Main.java:44: 错误: 需要class, interface或enum
   	  ll ka[4];
   	  ^
0_0_20507584_31438\Main.java:45: 错误: 需要class, interface或enum
      if (n<=2)
      ^
0_0_20507584_31438\Main.java:48: 错误: 需要class, interface或enum
      	 printf("%I64d\n",f(aa,ka[n])%p);
      	 ^
0_0_20507584_31438\Main.java:49: 错误: 需要class, interface或enum
      	 continue;
      	 ^
0_0_20507584_31438\Main.java:50: 错误: 需要class, interface或enum
      }
      ^
0_0_20507584_31438\Main.java:52: 错误: 需要class, interface或enum
   	  ll kk=bb*a[1][1]+a[1][3]*bb;
   	  ^
0_0_20507584_31438\Main.java:53: 错误: 需要class, interface或enum
   	  printf("%I64d\n",f(aa,kk)%p);
   	  ^
0_0_20507584_31438\Main.java:60: 错误: 需要class, interface或enum
   }
   ^
50 个错误


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-12-03 17:54:55, Gzip enabled