/ Vijos /

记录详情

Compile Error

./Main.java:1: error: ';' expected
package main
            ^
./Main.java:3: error: <identifier> expected
import (
      ^
./Main.java:3: error: <identifier> expected
import (
        ^
./Main.java:4: error: ';' expected
    "fmt"
         ^
./Main.java:6: error: class, interface, or enum expected
)
^
./Main.java:8: error: class, interface, or enum expected
type point struct {
^
./Main.java:18: error: class, interface, or enum expected
    for i = 0; i < n; i++ {
               ^
./Main.java:18: error: class, interface, or enum expected
    for i = 0; i < n; i++ {
                      ^
./Main.java:21: error: class, interface, or enum expected
    for i = 0; i < n; i++ {
               ^
./Main.java:21: error: class, interface, or enum expected
    for i = 0; i < n; i++ {
                      ^
./Main.java:26: error: class, interface, or enum expected
    for i = 1; i <= n; i++ {
               ^
./Main.java:26: error: class, interface, or enum expected
    for i = 1; i <= n; i++ {
                       ^
./Main.java:27: error: class, interface, or enum expected
        for j = 0; j < n; j++ {
                   ^
./Main.java:27: error: class, interface, or enum expected
        for j = 0; j < n; j++ {
                          ^
./Main.java:34: error: class, interface, or enum expected
    for i = 0; i < n; i++ {
               ^
./Main.java:34: error: class, interface, or enum expected
    for i = 0; i < n; i++ {
                      ^
16 errors
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1069 新年趣事之红包
语言
Java
递交时间
2021-08-30 17:32:20
评测时间
2021-08-30 17:32:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes