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_33334019_15002\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_33334019_15002\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_33334019_15002\Main.java:2: 错误: 非法字符: '#'
#include <cmath>
^
0_0_33334019_15002\Main.java:3: 错误: 非法字符: '#'
#include <iostream>
^
0_0_33334019_15002\Main.java:4: 错误: 非法字符: '#'
#include <cstring>
^
0_0_33334019_15002\Main.java:6: 错误: 需要class, interface或enum
const int mod = 8191;
^
0_0_33334019_15002\Main.java:7: 错误: 需要class, interface或enum
const int N = 5;
^
0_0_33334019_15002\Main.java:8: 错误: 需要class, interface或enum
void bruteforce(int &x,int &y,int d){
^
0_0_33334019_15002\Main.java:10: 错误: 需要class, interface或enum
	do{
	^
0_0_33334019_15002\Main.java:12: 错误: 需要class, interface或enum
		x = (int)sqrt(d * y * y + 1);
		^
0_0_33334019_15002\Main.java:13: 错误: 需要class, interface或enum
	}while(x * x - d * y * y - 1);
	^
0_0_33334019_15002\Main.java:14: 错误: 需要class, interface或enum
}
^
0_0_33334019_15002\Main.java:20: 错误: 需要class, interface或enum
}ans,a;
^
0_0_33334019_15002\Main.java:23: 错误: 需要class, interface或enum
Matrix mul(Matrix x,Matrix y,int n){
^
0_0_33334019_15002\Main.java:25: 错误: 需要class, interface或enum
	memset(z.m,0,sizeof(z.m));
	^
0_0_33334019_15002\Main.java:26: 错误: 需要class, interface或enum
	for(int i = 1;i <= n;i++){
	^
0_0_33334019_15002\Main.java:26: 错误: 需要class, interface或enum
	for(int i = 1;i <= n;i++){
	              ^
0_0_33334019_15002\Main.java:26: 错误: 需要class, interface或enum
	for(int i = 1;i <= n;i++){
	                     ^
0_0_33334019_15002\Main.java:27: 错误: 需要class, interface或enum
		for(int j = 1;j <= n;j++){
		              ^
0_0_33334019_15002\Main.java:27: 错误: 需要class, interface或enum
		for(int j = 1;j <= n;j++){
		                     ^
0_0_33334019_15002\Main.java:28: 错误: 需要class, interface或enum
			for(int k = 1;k <= n;k++){
			              ^
0_0_33334019_15002\Main.java:28: 错误: 需要class, interface或enum
			for(int k = 1;k <= n;k++){
			                     ^
0_0_33334019_15002\Main.java:30: 错误: 需要class, interface或enum
			}
			^
0_0_33334019_15002\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_33334019_15002\Main.java:38: 错误: 需要class, interface或enum
	for(int i = 1;i <= n;i++){
	^
0_0_33334019_15002\Main.java:38: 错误: 需要class, interface或enum
	for(int i = 1;i <= n;i++){
	              ^
0_0_33334019_15002\Main.java:38: 错误: 需要class, interface或enum
	for(int i = 1;i <= n;i++){
	                     ^
0_0_33334019_15002\Main.java:40: 错误: 需要class, interface或enum
	}
	^
0_0_33334019_15002\Main.java:43: 错误: 需要class, interface或enum
		a = mul(a,a,n);
		^
0_0_33334019_15002\Main.java:44: 错误: 需要class, interface或enum
		x >>= 1;
		^
0_0_33334019_15002\Main.java:45: 错误: 需要class, interface或enum
	}
	^
0_0_33334019_15002\Main.java:47: 错误: 需要class, interface或enum
}
^
0_0_33334019_15002\Main.java:52: 错误: 需要class, interface或enum
	while(~scanf("%d%d",&d,&k)){
	^
0_0_33334019_15002\Main.java:54: 错误: 需要class, interface或enum
		bruteforce(x,y,d);
		^
0_0_33334019_15002\Main.java:55: 错误: 需要class, interface或enum
		if(x <= y) {puts("No answers can meet such conditions");continue;}
		^
0_0_33334019_15002\Main.java:55: 错误: 需要class, interface或enum
		if(x <= y) {puts("No answers can meet such conditions");continue;}
		                                                        ^
0_0_33334019_15002\Main.java:55: 错误: 需要class, interface或enum
		if(x <= y) {puts("No answers can meet such conditions");continue;}
		                                                                 ^
0_0_33334019_15002\Main.java:57: 错误: 需要class, interface或enum
		a.m[2][1] = y,a.m[2][2] = x;
		^
0_0_33334019_15002\Main.java:58: 错误: 需要class, interface或enum
		a = qpow(a,k - 1,2);
		^
0_0_33334019_15002\Main.java:59: 错误: 需要class, interface或enum
		int ans = (a.m[1][1] * x + a.m[1][2] * y) % mod; 
		^
0_0_33334019_15002\Main.java:60: 错误: 需要class, interface或enum
		printf("%d\n",ans);
		^
0_0_33334019_15002\Main.java:61: 错误: 需要class, interface或enum
	}
	^
0_0_33334019_15002\Main.java:63: 错误: 需要class, interface或enum
}
^
43 个错误


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-22 06:36:14, Gzip enabled