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_39395537_22534.c:1:1: error: unknown type name 'import'
    1 | import java.util.Arrays;
      | ^~~~~~
0_0_39395537_22534.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Arrays;
      |            ^
0_0_39395537_22534.c:2:1: error: unknown type name 'import'
    2 | import java.util.Scanner;
      | ^~~~~~
0_0_39395537_22534.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.util.Scanner;
      |            ^
0_0_39395537_22534.c:4:1: error: unknown type name 'public'
    4 | public class Main {
      | ^~~~~~
0_0_39395537_22534.c:4:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    4 | public class Main {
      |              ^~~~
0_0_39395537_22534.c:39:1: error: unknown type name 'class'
   39 | class Floyd {
      | ^~~~~
0_0_39395537_22534.c:39:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
   39 | class Floyd {
      |             ^


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-11-25 03:52:33, Gzip enabled