/ Vijos /

记录详情

Compile Error

foo.c:1:1: error: unknown type name 'import'
    1 | import java.io.File;
      | ^~~~~~
foo.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.io.File;
      |            ^
foo.c:2:1: error: unknown type name 'import'
    2 | import java.io.FileReader;
      | ^~~~~~
foo.c:2:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    2 | import java.io.FileReader;
      |            ^
foo.c:3:1: error: unknown type name 'import'
    3 | import java.io.IOException;
      | ^~~~~~
foo.c:3:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    3 | import java.io.IOException;
      |            ^
foo.c:4:1: error: unknown type name 'import'
    4 | import java.util.ArrayList;
      | ^~~~~~
foo.c:4:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 | import java.util.ArrayList;
      |            ^
foo.c:5:1: error: unknown type name 'import'
    5 | import java.util.HashMap;
      | ^~~~~~
foo.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    5 | import java.util.HashMap;
      |            ^
foo.c:6:1: error: unknown type name 'import'
    6 | import java.util.Scanner;
      | ^~~~~~
foo.c:6:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    6 | import java.util.Scanner;
      |            ^
foo.c:8:1: error: unknown type name 'public'
    8 | public class Main {
      | ^~~~~~
foo.c:8:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    8 | public class Main {
      |              ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1230 数的朗读
语言
C
递交时间
2021-12-14 19:38:29
评测时间
2021-12-14 19:38:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes