/ Vijos /

记录详情

Compile Error

foo.cc:3:9: error: too many decimal points in number
    3 | s:array[1..20] of string;
      |         ^~~~~
foo.cc:5:11: error: too many decimal points in number
    5 | map:array[1..20,1..20] of longint;
      |           ^~~~~
foo.cc:5:17: error: too many decimal points in number
    5 | map:array[1..20,1..20] of longint;
      |                 ^~~~~
foo.cc:9:12: error: too many decimal points in number
    9 | used:array[1..20] of longint;
      |            ^~~~~
foo.cc:1:1: error: 'var' does not name a type
    1 | var
      | ^~~
foo.cc:5:4: error: found ':' in nested-name-specifier, expected '::'
    5 | map:array[1..20,1..20] of longint;
      |    ^
      |    ::
foo.cc:5:1: error: 'map' does not name a type
    5 | map:array[1..20,1..20] of longint;
      | ^~~
foo.cc:7:1: error: 'best' does not name a type
    7 | best,n,i:longint;
      | ^~~~
foo.cc:9:5: error: found ':' in nested-name-specifier, expected '::'
    9 | used:array[1..20] of longint;
      |     ^
      |     ::
foo.cc:9:1: error: 'used' does not name a type
    9 | used:array[1..20] of longint;
      | ^~~~
foo.cc:11:1: error: 'ch' does not name a type; did you mean 'char'?
   11 | ch:char;
      | ^~
      | char
foo.cc:13:1: error: 'function' does not name a type; did you mean 'union'?
   13 | function min(x,y:longint):longint;
      | ^~~~~~~~
      | union
foo.cc:15:1: error: 'begin' does not name a type
   15 | begin
      | ^~~~~
foo.cc:19:1: error: expected unqualified-id before 'for'
   19 | for i:=1 to n do
      | ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1311 单词接龙
语言
C++
递交时间
2023-05-24 20:05:26
评测时间
2023-05-24 20:05:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes