/ Vijos /

记录详情

Compile Error

/in/foo.cc:19:9: warning: multi-character character constant [-Wmultichar]
 writeln('-18');
         ^~~~~
/in/foo.cc:1:1: error: 'var' does not name a type
 var
 ^~~
/in/foo.cc:5:1: error: 'begin' does not name a type
 begin
 ^~~~~
/in/foo.cc:9:1: error: expected unqualified-id before 'if'
 if a=1 then begin
 ^~
/in/foo.cc:13:1: error: 'halt' does not name a type
 halt;
 ^~~~
/in/foo.cc:15:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:17:1: error: expected unqualified-id before 'if'
 if (a=2)and(b1) then begin
 ^~
/in/foo.cc:21:1: error: 'halt' does not name a type
 halt;
 ^~~~
/in/foo.cc:23:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:25:1: error: expected unqualified-id before 'if'
 if b=1 then begin
 ^~
/in/foo.cc:29:1: error: 'halt' does not name a type
 halt;
 ^~~~
/in/foo.cc:31:1: error: 'end' does not name a type
 end;
 ^~~
/in/foo.cc:33:1: error: 'c' does not name a type
 c:=1;
 ^
/in/foo.cc:35:1: error: 'd' does not name a type
 d:=0;
 ^
/in/foo.cc:37:1: error: 'e' does not name a type
 e:=1;
 ^
/in/foo.cc:39:1: error: 'repeat' does not name a type
 repeat
 ^~~~~~
/in/foo.cc:43:1: error: 'c' does not name a type
 c:=c+a-2;
 ^
/in/foo.cc:45:1: error: 'until' does not name a type
 until d>=b;
 ^~~~~
/in/foo.cc:47:1: error: expected unqualified-id before 'for'
 for c:=1 to d do
 ^~~
/in/foo.cc:51:8: error: expected constructor, destructor, or type conversion before '(' token
 writeln(e mod 181818181818);
        ^
/in/foo.cc:53:1: error: 'end' does not name a type
 end.
 ^~~

信息

递交者
类型
递交
题目
P1432 数学家之梦
语言
C++
递交时间
2021-12-16 20:00:49
评测时间
2021-12-16 20:01:03
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes