/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: illegal character: '#'
#include<bits/stdc++.h>
^
/in/Main.java:1: error: class, interface, or enum expected
#include<bits/stdc++.h>
        ^
/in/Main.java:4: error: class, interface, or enum expected
int n,m;
^
/in/Main.java:5: error: class, interface, or enum expected
int mincount[301];
^
/in/Main.java:6: error: class, interface, or enum expected
int w[301][301];
^
/in/Main.java:8: error: class, interface, or enum expected
inline void prims(int s)
^
/in/Main.java:11: error: class, interface, or enum expected
	for (int i=1;i<=n;i++)
	^
/in/Main.java:11: error: class, interface, or enum expected
	for (int i=1;i<=n;i++)
	             ^
/in/Main.java:11: error: class, interface, or enum expected
	for (int i=1;i<=n;i++)
	                  ^
/in/Main.java:13: error: class, interface, or enum expected
	mincount[s] = 0;
	^
/in/Main.java:14: error: class, interface, or enum expected
	for (int i=1;i<=n-1;i++)
	^
/in/Main.java:14: error: class, interface, or enum expected
	for (int i=1;i<=n-1;i++)
	             ^
/in/Main.java:14: error: class, interface, or enum expected
	for (int i=1;i<=n-1;i++)
	                    ^
/in/Main.java:17: error: class, interface, or enum expected
		for (int j=1;j<=n;j++)
		^
/in/Main.java:17: error: class, interface, or enum expected
		for (int j=1;j<=n;j++)
		             ^
/in/Main.java:17: error: class, interface, or enum expected
		for (int j=1;j<=n;j++)
		                  ^
/in/Main.java:20: error: class, interface, or enum expected
			minn = mincount[j];  k = j;
			                     ^
/in/Main.java:21: error: class, interface, or enum expected
		 }
		 ^
/in/Main.java:23: error: class, interface, or enum expected
		 ans = max(ans,minn);
		 ^
/in/Main.java:24: error: class, interface, or enum expected
		 for (int j=1;j<=n;j++)
		 ^
/in/Main.java:24: error: class, interface, or enum expected
		 for (int j=1;j<=n;j++)
		              ^
/in/Main.java:24: error: class, interface, or enum expected
		 for (int j=1;j<=n;j++)
		                   ^
/in/Main.java:26: error: class, interface, or enum expected
	}
	^
/in/Main.java:28: error: class, interface, or enum expected
}
^
/in/Main.java:33: error: class, interface, or enum expected
	for (int i=1;i<=n;i++)
	^
/in/Main.java:33: error: class, interface, or enum expected
	for (int i=1;i<=n;i++)
	             ^
/in/Main.java:33: error: class, interface, or enum expected
	for (int i=1;i<=n;i++)
	                  ^
/in/Main.java:34: error: class, interface, or enum expected
	for (int j=1;j<=n;j++)
	             ^
/in/Main.java:34: error: class, interface, or enum expected
	for (int j=1;j<=n;j++)
	                  ^
/in/Main.java:36: error: class, interface, or enum expected
	for (int i=1;i<=m;i++)
	^
/in/Main.java:36: error: class, interface, or enum expected
	for (int i=1;i<=m;i++)
	             ^
/in/Main.java:36: error: class, interface, or enum expected
	for (int i=1;i<=m;i++)
	                  ^
/in/Main.java:39: error: class, interface, or enum expected
		cin >> u >> v >> c;
		^
/in/Main.java:40: error: class, interface, or enum expected
		w[u][v] = c;
		^
/in/Main.java:41: error: class, interface, or enum expected
		w[v][u] = c;
		^
/in/Main.java:42: error: class, interface, or enum expected
	}
	^
/in/Main.java:44: error: class, interface, or enum expected
	return 0;
	^
/in/Main.java:45: error: class, interface, or enum expected
}
^
38 errors

信息

递交者
类型
递交
题目
P1190 繁忙的都市
语言
Java
递交时间
2019-08-19 15:36:28
评测时间
2019-08-19 15:36:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes