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_39094882_21136.cpp:226:9: error: stray '@' in program
  226 |         @Override
      |         ^
0_0_39094882_21136.cpp:239:9: error: stray '@' in program
  239 |         @Override
      |         ^
0_0_39094882_21136.cpp:1:1: error: 'package' does not name a type
    1 | package hdu;
      | ^~~~~~~
0_0_39094882_21136.cpp:3:1: error: 'import' does not name a type
    3 | import java.util.ArrayDeque;
      | ^~~~~~
0_0_39094882_21136.cpp:3:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39094882_21136.cpp:4:1: error: 'import' does not name a type
    4 | import java.util.Arrays;
      | ^~~~~~
0_0_39094882_21136.cpp:4:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39094882_21136.cpp:5:1: error: 'import' does not name a type
    5 | import java.util.HashMap;
      | ^~~~~~
0_0_39094882_21136.cpp:5:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39094882_21136.cpp:6:1: error: 'import' does not name a type
    6 | import java.util.Map;
      | ^~~~~~
0_0_39094882_21136.cpp:6:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39094882_21136.cpp:7:1: error: 'import' does not name a type
    7 | import java.util.Queue;
      | ^~~~~~
0_0_39094882_21136.cpp:7:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39094882_21136.cpp:8:1: error: 'import' does not name a type
    8 | import java.util.Scanner;
      | ^~~~~~
0_0_39094882_21136.cpp:8:1: note: C++20 'import' only available with '-fmodules-ts', which is not yet enabled with '-std=c++20'
0_0_39094882_21136.cpp:10:1: error: expected unqualified-id before 'public'
   10 | public class Hdu20130707_3095_4 {
      | ^~~~~~
0_0_39094882_21136.cpp:209:12: error: expected unqualified-id before '[' token
  209 |         int[][] map = new int[7][7];
      |            ^
0_0_39094882_21136.cpp:213:15: error: expected ':' before 'Node3095_4'
  213 |         public Node3095_4() {
      |               ^~~~~~~~~~~
      |               :
0_0_39094882_21136.cpp:217:15: error: expected ':' before 'Node3095_4'
  217 |         public Node3095_4(int count, int[][] map, int x1, int y1, int x2, int y2) {
      |               ^~~~~~~~~~~
      |               :
0_0_39094882_21136.cpp:217:44: error: multidimensional array must have bounds for all dimensions except the first
  217 |         public Node3095_4(int count, int[][] map, int x1, int y1, int x2, int y2) {
      |                                            ^
0_0_39094882_21136.cpp:217:46: error: expected ',' or '...' before 'map'
  217 |         public Node3095_4(int count, int[][] map, int x1, int y1, int x2, int y2) {
      |                                              ^~~
0_0_39094882_21136.cpp:226:10: error: 'Override' does not name a type
  226 |         @Override
      |          ^~~~~~~~
0_0_39094882_21136.cpp:239:10: error: 'Override' does not name a type
  239 |         @Override
      |          ^~~~~~~~
0_0_39094882_21136.cpp:255:2: error: expected ';' after class definition
  255 | }
      |  ^
      |  ;
0_0_39094882_21136.cpp: In constructor 'Node3095_4::Node3095_4(...)':
0_0_39094882_21136.cpp:218:22: error: request for member 'count' in '(Node3095_4*)this', which is of pointer type 'Node3095_4*' (maybe you meant to use '->' ?)
  218 |                 this.count = count;
      |                      ^~~~~
0_0_39094882_21136.cpp:219:22: error: request for member 'map' in '(Node3095_4*)this', which is of pointer type 'Node3095_4*' (maybe you meant to use '->' ?)
  219 |                 this.map = map;
      |                      ^~~
0_0_39094882_21136.cpp:219:28: error: 'map' was not declared in this scope
  219 |                 this.map = map;
      |                            ^~~
0_0_39094882_21136.cpp:220:22: error: request for member 'x1' in '(Node3095_4*)this', which is of pointer type 'Node3095_4*' (maybe you meant to use '->' ?)
  220 |                 this.x1 = x1;
      |                      ^~
0_0_39094882_21136.cpp:221:22: error: request for member 'y1' in '(Node3095_4*)this', which is of pointer type 'Node3095_4*' (maybe you meant to use '->' ?)
  221 |                 this.y1 = y1;
      |                      ^~
0_0_39094882_21136.cpp:222:22: error: request for member 'x2' in '(Node3095_4*)this', which is of pointer type 'Node3095_4*' (maybe you meant to use '->' ?)
  222 |                 this.x2 = x2;
      |                      ^~
0_0_39094882_21136.cpp:223:22: error: request for member 'y2' in '(Node3095_4*)this', which is of pointer type 'Node3095_4*' (maybe you meant to use '->' ?)
  223 |                 this.y2 = y2;
      |                      ^~


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-05-05 09:26:51, Gzip enabled