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_3975804_28400\Main.java:1: 非法字符: \35
#include <iostream>
^
0_0_3975804_28400\Main.java:4: 需要为 class、interface 或 enum
int fun( int a, int b )
^
0_0_3975804_28400\Main.java:7: 需要为 class、interface 或 enum
	while( true )
	^
0_0_3975804_28400\Main.java:10: 需要为 class、interface 或 enum
		a = b; b = temp; temp = a%b;
		^
0_0_3975804_28400\Main.java:10: 需要为 class、interface 或 enum
		a = b; b = temp; temp = a%b;
		       ^
0_0_3975804_28400\Main.java:10: 需要为 class、interface 或 enum
		a = b; b = temp; temp = a%b;
		                 ^
0_0_3975804_28400\Main.java:11: 需要为 class、interface 或 enum
	}
	^
0_0_3975804_28400\Main.java:17: 需要为 class、interface 或 enum
	scanf( "%d", &N );
	^
0_0_3975804_28400\Main.java:18: 需要为 class、interface 或 enum
	while( N-- )
	^
0_0_3975804_28400\Main.java:21: 需要为 class、interface 或 enum
	while( scanf( "%d/%d%d/%d", &a, &b, &c, &d )!=EOF )
	^
0_0_3975804_28400\Main.java:23: 需要为 class、interface 或 enum
		f = fun( a, b ); a/=f; b/=f;
		                 ^
0_0_3975804_28400\Main.java:23: 需要为 class、interface 或 enum
		f = fun( a, b ); a/=f; b/=f;
		                       ^
0_0_3975804_28400\Main.java:24: 需要为 class、interface 或 enum
		s = fun( c, d ); c/=s; d/=s;
		^
0_0_3975804_28400\Main.java:24: 需要为 class、interface 或 enum
		s = fun( c, d ); c/=s; d/=s;
		                 ^
0_0_3975804_28400\Main.java:24: 需要为 class、interface 或 enum
		s = fun( c, d ); c/=s; d/=s;
		                       ^
0_0_3975804_28400\Main.java:25: 需要为 class、interface 或 enum
		f = fun( a, c );
		^
0_0_3975804_28400\Main.java:26: 需要为 class、interface 或 enum
		s = fun( b, d );
		^
0_0_3975804_28400\Main.java:27: 需要为 class、interface 或 enum
		printf( "%d", a/f*c );
		^
0_0_3975804_28400\Main.java:28: 需要为 class、interface 或 enum
		if( s!=1 ) printf( "/%d\n", s );
		^
0_0_3975804_28400\Main.java:29: 需要为 class、interface 或 enum
	}
	^
20 错误


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-05 07:41:46, Gzip enabled