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_39802240_26005\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_39802240_26005\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_39802240_26005\Main.java:5: 错误: 需要class, interface或enum
	scanf("%d",&t);
	^
0_0_39802240_26005\Main.java:6: 错误: 需要class, interface或enum
	while(t--)
	^
0_0_39802240_26005\Main.java:9: 错误: 需要class, interface或enum
		int n;
		^
0_0_39802240_26005\Main.java:10: 错误: 需要class, interface或enum
		scanf("%d",&n);
		^
0_0_39802240_26005\Main.java:11: 错误: 需要class, interface或enum
		for(int i=1;i<=3;i++)
		^
0_0_39802240_26005\Main.java:11: 错误: 需要class, interface或enum
		for(int i=1;i<=3;i++)
		            ^
0_0_39802240_26005\Main.java:11: 错误: 需要class, interface或enum
		for(int i=1;i<=3;i++)
		                 ^
0_0_39802240_26005\Main.java:14: 错误: 需要class, interface或enum
			scanf("%d",&x);
			^
0_0_39802240_26005\Main.java:15: 错误: 需要class, interface或enum
			for(int j=0;j<x;j++)
			^
0_0_39802240_26005\Main.java:15: 错误: 需要class, interface或enum
			for(int j=0;j<x;j++)
			            ^
0_0_39802240_26005\Main.java:15: 错误: 需要class, interface或enum
			for(int j=0;j<x;j++)
			                ^
0_0_39802240_26005\Main.java:18: 错误: 需要class, interface或enum
				a[w]=i;
				^
0_0_39802240_26005\Main.java:19: 错误: 需要class, interface或enum
			}
			^
0_0_39802240_26005\Main.java:23: 错误: 需要class, interface或enum
		int last=a[n];
		^
0_0_39802240_26005\Main.java:24: 错误: 需要class, interface或enum
		int pang;
		^
0_0_39802240_26005\Main.java:25: 错误: 需要class, interface或enum
		if(last==2)
		^
0_0_39802240_26005\Main.java:28: 错误: 需要class, interface或enum
			continue;
			^
0_0_39802240_26005\Main.java:29: 错误: 需要class, interface或enum
		}
		^
0_0_39802240_26005\Main.java:33: 错误: 需要class, interface或enum
		}
		^
0_0_39802240_26005\Main.java:37: 错误: 需要class, interface或enum
		}
		^
0_0_39802240_26005\Main.java:39: 错误: 需要class, interface或enum
		for(int i=n-1;i>=1;i--)//接下来就扫这些盘子是否符合上图的规律,符合的话cnt+1; 这里用1、2、3代替那个A、B、C柱子 
		              ^
0_0_39802240_26005\Main.java:39: 错误: 需要class, interface或enum
		for(int i=n-1;i>=1;i--)//接下来就扫这些盘子是否符合上图的规律,符合的话cnt+1; 这里用1、2、3代替那个A、B、C柱子 
		                   ^
0_0_39802240_26005\Main.java:47: 错误: 需要class, interface或enum
					last=a[i];
					^
0_0_39802240_26005\Main.java:48: 错误: 需要class, interface或enum
					if(last==1)
					^
0_0_39802240_26005\Main.java:51: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:55: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:57: 错误: 需要class, interface或enum
				}
				^
0_0_39802240_26005\Main.java:62: 错误: 需要class, interface或enum
					last=a[i];
					^
0_0_39802240_26005\Main.java:63: 错误: 需要class, interface或enum
					if(last==1)
					^
0_0_39802240_26005\Main.java:66: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:70: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:72: 错误: 需要class, interface或enum
				}
				^
0_0_39802240_26005\Main.java:80: 错误: 需要class, interface或enum
					last=a[i];
					^
0_0_39802240_26005\Main.java:81: 错误: 需要class, interface或enum
					if(last==2)
					^
0_0_39802240_26005\Main.java:84: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:88: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:90: 错误: 需要class, interface或enum
				}
				^
0_0_39802240_26005\Main.java:95: 错误: 需要class, interface或enum
					last=a[i];
					^
0_0_39802240_26005\Main.java:96: 错误: 需要class, interface或enum
					if(last==1)
					^
0_0_39802240_26005\Main.java:99: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:103: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:105: 错误: 需要class, interface或enum
				}
				^
0_0_39802240_26005\Main.java:113: 错误: 需要class, interface或enum
					last=a[i];
					^
0_0_39802240_26005\Main.java:114: 错误: 需要class, interface或enum
					if(last==2)
					^
0_0_39802240_26005\Main.java:117: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:121: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:123: 错误: 需要class, interface或enum
				}
				^
0_0_39802240_26005\Main.java:128: 错误: 需要class, interface或enum
					last=a[i];
					^
0_0_39802240_26005\Main.java:129: 错误: 需要class, interface或enum
					if(last==1)
					^
0_0_39802240_26005\Main.java:132: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:136: 错误: 需要class, interface或enum
					}
					^
0_0_39802240_26005\Main.java:138: 错误: 需要class, interface或enum
				}
				^
0_0_39802240_26005\Main.java:144: 错误: 需要class, interface或enum
		}
		^
0_0_39802240_26005\Main.java:148: 错误: 需要class, interface或enum
		}
		^
0_0_39802240_26005\Main.java:151: 错误: 需要class, interface或enum
}
^
57 个错误


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-16 08:44:55, Gzip enabled