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_16905995_16432\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_16905995_16432\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_16905995_16432\Main.java:3: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_16905995_16432\Main.java:4: 错误: 需要class, interface或enum
int p;
^
0_0_16905995_16432\Main.java:6: 错误: 需要class, interface或enum
struct Marix{
^
0_0_16905995_16432\Main.java:9: 错误: 需要class, interface或enum
	void clear() {
	^
0_0_16905995_16432\Main.java:11: 错误: 需要class, interface或enum
	}
	^
0_0_16905995_16432\Main.java:15: 错误: 需要class, interface或enum
		c.clear();
		^
0_0_16905995_16432\Main.java:16: 错误: 需要class, interface或enum
		for(int i = 0; i < 3; i++){
		^
0_0_16905995_16432\Main.java:16: 错误: 需要class, interface或enum
		for(int i = 0; i < 3; i++){
		               ^
0_0_16905995_16432\Main.java:16: 错误: 需要class, interface或enum
		for(int i = 0; i < 3; i++){
		                      ^
0_0_16905995_16432\Main.java:17: 错误: 需要class, interface或enum
			for(int j = 0; j < 3; j++){
			               ^
0_0_16905995_16432\Main.java:17: 错误: 需要class, interface或enum
			for(int j = 0; j < 3; j++){
			                      ^
0_0_16905995_16432\Main.java:18: 错误: 需要class, interface或enum
				for(int k = 0; k < 3; k++){
				               ^
0_0_16905995_16432\Main.java:18: 错误: 需要class, interface或enum
				for(int k = 0; k < 3; k++){
				                      ^
0_0_16905995_16432\Main.java:21: 错误: 需要class, interface或enum
				}
				^
0_0_16905995_16432\Main.java:25: 错误: 需要class, interface或enum
	}
	^
0_0_16905995_16432\Main.java:28: 错误: 需要class, interface或enum
Marix marix_pow(Marix a, LL k){
^
0_0_16905995_16432\Main.java:30: 错误: 需要class, interface或enum
	ans.clear();
	^
0_0_16905995_16432\Main.java:31: 错误: 需要class, interface或enum
	for(int i = 0; i < 3; i++) ans.maze[i][i] = 1;
	^
0_0_16905995_16432\Main.java:31: 错误: 需要class, interface或enum
	for(int i = 0; i < 3; i++) ans.maze[i][i] = 1;
	               ^
0_0_16905995_16432\Main.java:31: 错误: 需要class, interface或enum
	for(int i = 0; i < 3; i++) ans.maze[i][i] = 1;
	                      ^
0_0_16905995_16432\Main.java:32: 错误: 需要class, interface或enum
	while(k){
	^
0_0_16905995_16432\Main.java:34: 错误: 需要class, interface或enum
		a = a * a;
		^
0_0_16905995_16432\Main.java:35: 错误: 需要class, interface或enum
		k >>= 1;
		^
0_0_16905995_16432\Main.java:36: 错误: 需要class, interface或enum
	}
	^
0_0_16905995_16432\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_16905995_16432\Main.java:42: 错误: 需要class, interface或enum
	while(k){
	^
0_0_16905995_16432\Main.java:44: 错误: 需要class, interface或enum
		a = (a * a) % p;
		^
0_0_16905995_16432\Main.java:45: 错误: 需要class, interface或enum
		k >>= 1;
		^
0_0_16905995_16432\Main.java:46: 错误: 需要class, interface或enum
	}
	^
0_0_16905995_16432\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_16905995_16432\Main.java:52: 错误: 需要class, interface或enum
	LL n, a, b, c;
	^
0_0_16905995_16432\Main.java:53: 错误: 需要class, interface或enum
	scanf("%d", &T);
	^
0_0_16905995_16432\Main.java:54: 错误: 需要class, interface或enum
	while(T--){
	^
0_0_16905995_16432\Main.java:60: 错误: 需要class, interface或enum
		int k;
		^
0_0_16905995_16432\Main.java:61: 错误: 需要class, interface或enum
		if(n == 1){
		^
0_0_16905995_16432\Main.java:63: 错误: 需要class, interface或enum
		}else if(n == 2){
		^
0_0_16905995_16432\Main.java:65: 错误: 需要class, interface或enum
		}else{
		^
0_0_16905995_16432\Main.java:67: 错误: 需要class, interface或enum
			A.clear();
			^
0_0_16905995_16432\Main.java:68: 错误: 需要class, interface或enum
			B.clear();
			^
0_0_16905995_16432\Main.java:69: 错误: 需要class, interface或enum
			A.maze[0][0] = c;
			^
0_0_16905995_16432\Main.java:70: 错误: 需要class, interface或enum
			A.maze[0][2] = b;
			^
0_0_16905995_16432\Main.java:71: 错误: 需要class, interface或enum
			A.maze[0][1] = A.maze[1][0] = A.maze[2][2] = 1;
			^
0_0_16905995_16432\Main.java:72: 错误: 需要class, interface或enum
			B.maze[0][0] = b;
			^
0_0_16905995_16432\Main.java:73: 错误: 需要class, interface或enum
			B.maze[2][0] = 1;
			^
0_0_16905995_16432\Main.java:74: 错误: 需要class, interface或enum
			k =  (marix_pow(A, n - 2) * B).maze[0][0];
			^
0_0_16905995_16432\Main.java:75: 错误: 需要class, interface或enum
		}
		^
0_0_16905995_16432\Main.java:77: 错误: 需要class, interface或enum
	}
	^
0_0_16905995_16432\Main.java:79: 错误: 需要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-04 23:56:33, Gzip enabled