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_39749499_15755.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
0_0_39749499_15755.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
0_0_39749499_15755.c:3:1: error: unknown type name 'public'
    3 | public class Main {
      | ^~~~~~
0_0_39749499_15755.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class Main {
      |              ^~~~
0_0_39749499_15755.c:41:1: error: unknown type name 'class'
   41 | class stack{
      | ^~~~~
0_0_39749499_15755.c:41:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
   41 | class stack{
      |            ^
0_0_39749499_15755.c:62:1: error: unknown type name 'class'
   62 | class queue{
      | ^~~~~
0_0_39749499_15755.c:62:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
   62 | class queue{
      |            ^
0_0_39749499_15755.c:90:1: error: unknown type name 'class'
   90 | class Node{
      | ^~~~~
0_0_39749499_15755.c:90:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
   90 | class Node{
      |           ^


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-30 05:21:02, Gzip enabled