/ Vijos /

记录详情

Compile Error

/in/foo.cc:2:18: error: too many decimal points in number
     a,b,f:array[-1000..1001] of longint;
                  ^~~~~~~~~~
/in/foo.cc:1:1: error: 'var' does not name a type
 var t,m,i,j:longint;
 ^~~
/in/foo.cc:2:5: error: 'a' does not name a type
     a,b,f:array[-1000..1001] of longint;
     ^
/in/foo.cc:3:2: error: 'begin' does not name a type
  begin
  ^~~~~
/in/foo.cc:5:2: error: expected unqualified-id before 'for'
  for i:=1 to m do
  ^~~
/in/foo.cc:7:2: error: expected unqualified-id before 'for'
  for i:=1 to m do
  ^~~
/in/foo.cc:10:9: error: expected constructor, destructor, or type conversion before '(' token
  writeln(f[t]);
         ^
/in/foo.cc:11:2: error: 'end' does not name a type
  end.
  ^~~

信息

递交者
类型
递交
题目
P1104 采药
语言
C++
递交时间
2018-08-04 14:44:50
评测时间
2018-08-04 14:44:50
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes