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_17345290_21924\Main.java:1: 错误: 非法字符: '#'
#define _CRT_SECURE_NO_WARNINGS
^
0_0_17345290_21924\Main.java:2: 错误: 非法字符: '#'
#define PI acos(-1)
^
0_0_17345290_21924\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_17345290_21924\Main.java:4: 错误: 非法字符: '#'
#include <iostream>
^
0_0_17345290_21924\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_17345290_21924\Main.java:6: 错误: 非法字符: '#'
#include <vector>
^
0_0_17345290_21924\Main.java:7: 错误: 非法字符: '#'
#include <numeric>
^
0_0_17345290_21924\Main.java:8: 错误: 非法字符: '#'
#include <string.h>
^
0_0_17345290_21924\Main.java:9: 错误: 非法字符: '#'
#include <math.h>
^
0_0_17345290_21924\Main.java:12: 错误: 需要class, interface或enum
long long p;
^
0_0_17345290_21924\Main.java:14: 错误: 需要class, interface或enum
struct matrix
^
0_0_17345290_21924\Main.java:17: 错误: 需要class, interface或enum
};
^
0_0_17345290_21924\Main.java:18: 错误: 需要class, interface或enum
matrix A;
^
0_0_17345290_21924\Main.java:19: 错误: 需要class, interface或enum
matrix mul(matrix x, matrix y) {
^
0_0_17345290_21924\Main.java:21: 错误: 需要class, interface或enum
	for (int i = 0; i < 3; i++)
	^
0_0_17345290_21924\Main.java:21: 错误: 需要class, interface或enum
	for (int i = 0; i < 3; i++)
	                ^
0_0_17345290_21924\Main.java:21: 错误: 需要class, interface或enum
	for (int i = 0; i < 3; i++)
	                       ^
0_0_17345290_21924\Main.java:23: 错误: 需要class, interface或enum
		for (int j = 0; j < 3; j ++)
		                ^
0_0_17345290_21924\Main.java:23: 错误: 需要class, interface或enum
		for (int j = 0; j < 3; j ++)
		                       ^
0_0_17345290_21924\Main.java:26: 错误: 需要class, interface或enum
			for (int k = 0; k < 3; k++)
			^
0_0_17345290_21924\Main.java:26: 错误: 需要class, interface或enum
			for (int k = 0; k < 3; k++)
			                ^
0_0_17345290_21924\Main.java:26: 错误: 需要class, interface或enum
			for (int k = 0; k < 3; k++)
			                       ^
0_0_17345290_21924\Main.java:29: 错误: 需要class, interface或enum
				ans.Mat[i][j] %= (p-1);
				^
0_0_17345290_21924\Main.java:30: 错误: 需要class, interface或enum
			}
			^
0_0_17345290_21924\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_17345290_21924\Main.java:37: 错误: 需要class, interface或enum
	for (int i = 0; i < 3; i++)
	^
0_0_17345290_21924\Main.java:37: 错误: 需要class, interface或enum
	for (int i = 0; i < 3; i++)
	                ^
0_0_17345290_21924\Main.java:37: 错误: 需要class, interface或enum
	for (int i = 0; i < 3; i++)
	                       ^
0_0_17345290_21924\Main.java:39: 错误: 需要class, interface或enum
		for (int j = 0; j < 3; j++)
		                ^
0_0_17345290_21924\Main.java:39: 错误: 需要class, interface或enum
		for (int j = 0; j < 3; j++)
		                       ^
0_0_17345290_21924\Main.java:42: 错误: 需要class, interface或enum
		}
		^
0_0_17345290_21924\Main.java:46: 错误: 需要class, interface或enum
	e.Mat[1][1] = 1;
	^
0_0_17345290_21924\Main.java:47: 错误: 需要class, interface或enum
	e.Mat[2][2] = 1;
	^
0_0_17345290_21924\Main.java:48: 错误: 需要class, interface或enum
	while (n)
	^
0_0_17345290_21924\Main.java:53: 错误: 需要class, interface或enum
		}
		^
0_0_17345290_21924\Main.java:55: 错误: 需要class, interface或enum
		n /= 2;
		^
0_0_17345290_21924\Main.java:56: 错误: 需要class, interface或enum
	}
	^
0_0_17345290_21924\Main.java:59: 错误: 需要class, interface或enum
}
^
0_0_17345290_21924\Main.java:62: 错误: 需要class, interface或enum
	while (n)
	^
0_0_17345290_21924\Main.java:67: 错误: 需要class, interface或enum
		}
		^
0_0_17345290_21924\Main.java:69: 错误: 需要class, interface或enum
		n /= 2;
		^
0_0_17345290_21924\Main.java:70: 错误: 需要class, interface或enum
	}
	^
0_0_17345290_21924\Main.java:73: 错误: 需要class, interface或enum
}
^
0_0_17345290_21924\Main.java:77: 错误: 需要class, interface或enum
	cin >> T;
	^
0_0_17345290_21924\Main.java:78: 错误: 需要class, interface或enum
	long long  n, a, b, c;
	^
0_0_17345290_21924\Main.java:79: 错误: 需要class, interface或enum
	while (T--)
	^
0_0_17345290_21924\Main.java:83: 错误: 需要class, interface或enum
		if (n == 1)
		^
0_0_17345290_21924\Main.java:86: 错误: 需要class, interface或enum
			continue;
			^
0_0_17345290_21924\Main.java:87: 错误: 需要class, interface或enum
		}
		^
0_0_17345290_21924\Main.java:91: 错误: 需要class, interface或enum
			continue;
			^
0_0_17345290_21924\Main.java:92: 错误: 需要class, interface或enum
		}
		^
0_0_17345290_21924\Main.java:96: 错误: 需要class, interface或enum
			continue;
			^
0_0_17345290_21924\Main.java:97: 错误: 需要class, interface或enum
		}
		^
0_0_17345290_21924\Main.java:98: 错误: 需要class, interface或enum
		A.Mat[0][0] = c; A.Mat[0][1] = 1; A.Mat[0][2] = 1;
		                 ^
0_0_17345290_21924\Main.java:98: 错误: 需要class, interface或enum
		A.Mat[0][0] = c; A.Mat[0][1] = 1; A.Mat[0][2] = 1;
		                                  ^
0_0_17345290_21924\Main.java:99: 错误: 需要class, interface或enum
		A.Mat[1][0] = 1; A.Mat[1][1] = 0; A.Mat[1][2] = 0;
		^
0_0_17345290_21924\Main.java:99: 错误: 需要class, interface或enum
		A.Mat[1][0] = 1; A.Mat[1][1] = 0; A.Mat[1][2] = 0;
		                 ^
0_0_17345290_21924\Main.java:99: 错误: 需要class, interface或enum
		A.Mat[1][0] = 1; A.Mat[1][1] = 0; A.Mat[1][2] = 0;
		                                  ^
0_0_17345290_21924\Main.java:100: 错误: 需要class, interface或enum
		A.Mat[2][0] = 0; A.Mat[2][1] = 0; A.Mat[2][2] = 1;
		^
0_0_17345290_21924\Main.java:100: 错误: 需要class, interface或enum
		A.Mat[2][0] = 0; A.Mat[2][1] = 0; A.Mat[2][2] = 1;
		                 ^
0_0_17345290_21924\Main.java:100: 错误: 需要class, interface或enum
		A.Mat[2][0] = 0; A.Mat[2][1] = 0; A.Mat[2][2] = 1;
		                                  ^
0_0_17345290_21924\Main.java:102: 错误: 需要class, interface或enum
		matrix ans = quick_mul(A, n - 2);
		^
0_0_17345290_21924\Main.java:103: 错误: 需要class, interface或enum
		long long x =ans.Mat[0][0]*b +ans.Mat[0][2] * b;
		^
0_0_17345290_21924\Main.java:105: 错误: 需要class, interface或enum
		cout << quick_mul(a,x)<<endl;
		^
0_0_17345290_21924\Main.java:106: 错误: 需要class, interface或enum
	}
	^
0_0_17345290_21924\Main.java:108: 错误: 需要class, interface或enum
}
^
66 个错误


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 19:17:00, Gzip enabled