./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)提供评测服务