记录详情

Compile Error

./Main.java:36: error: ';' expected
        this.dataCenterId = dataCenterId
                                        ^
./Main.java:38: error: illegal start of expression
			public long genTime() {
			^
./Main.java:38: error: ';' expected
			public long genTime() {
			      ^
./Main.java:38: error: ';' expected
			public long genTime() {
			                     ^
./Main.java:43: error: illegal start of expression
    public synchronized long nextId() {
    ^
./Main.java:43: error: '(' expected
    public synchronized long nextId() {
                       ^
./Main.java:43: error: '.class' expected
    public synchronized long nextId() {
                             ^
./Main.java:43: error: '{' expected
    public synchronized long nextId() {
                                   ^
./Main.java:43: error: illegal start of expression
    public synchronized long nextId() {
                                    ^
./Main.java:43: error: ';' expected
    public synchronized long nextId() {
                                     ^
./Main.java:70: error: illegal start of expression
     * @return
     ^
./Main.java:70: error: <identifier> expected
     * @return
        ^
./Main.java:71: error: ';' expected
    public long getNextMil(long lastTimeStamp) {
          ^
./Main.java:71: error: '.class' expected
    public long getNextMil(long lastTimeStamp) {
                                ^
./Main.java:71: error: ';' expected
    public long getNextMil(long lastTimeStamp) {
                                             ^
./Main.java:77: error: illegal character: '\uff1b'
			 throw new RuntimeException("???????")?
			                                      ^
./Main.java:82: error: illegal start of expression
		public static void main(String[] args){
		^
./Main.java:82: error: illegal start of expression
		public static void main(String[] args){
		       ^
./Main.java:82: error: ';' expected
		public static void main(String[] args){
		             ^
./Main.java:82: error: '.class' expected
		public static void main(String[] args){
		                                 ^
./Main.java:82: error: ';' expected
		public static void main(String[] args){
		                                     ^
./Main.java:94: error: reached end of file while parsing
	}
	 ^
22 errors
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1302 I. White Album
比赛
南京师范大学2021年11月程序设计竞赛
语言
Java
递交时间
2021-11-21 15:19:44
评测时间
2021-11-21 15:19:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes