/ Vijos /

记录详情

Compile Error

/in/foo.cc:3:1: error: stray '\343' in program
    b,c:Array [1..1000] of longint;
 ^
/in/foo.cc:3:2: error: stray '\200' in program
    b,c:Array [1..1000] of longint;
  ^
/in/foo.cc:3:3: error: stray '\200' in program
    b,c:Array [1..1000] of longint;
   ^
/in/foo.cc:3:4: error: stray '\343' in program
    b,c:Array [1..1000] of longint;
    ^
/in/foo.cc:3:5: error: stray '\200' in program
    b,c:Array [1..1000] of longint;
     ^
/in/foo.cc:3:6: error: stray '\200' in program
    b,c:Array [1..1000] of longint;
      ^
/in/foo.cc:3:19: error: too many decimal points in number
    b,c:Array [1..1000] of longint;
                   ^~~~~~~
/in/foo.cc:11:1: error: stray '\343' in program
   begin
 ^
/in/foo.cc:11:2: error: stray '\200' in program
   begin
  ^
/in/foo.cc:11:3: error: stray '\200' in program
   begin
   ^
/in/foo.cc:11:4: error: stray '\343' in program
   begin
    ^
/in/foo.cc:11:5: error: stray '\200' in program
   begin
     ^
/in/foo.cc:11:6: error: stray '\200' in program
   begin
      ^
/in/foo.cc:13:1: error: stray '\343' in program
    read(a);
 ^
/in/foo.cc:13:2: error: stray '\200' in program
    read(a);
  ^
/in/foo.cc:13:3: error: stray '\200' in program
    read(a);
   ^
/in/foo.cc:13:4: error: stray '\343' in program
    read(a);
    ^
/in/foo.cc:13:5: error: stray '\200' in program
    read(a);
     ^
/in/foo.cc:13:6: error: stray '\200' in program
    read(a);
      ^
/in/foo.cc:15:1: error: stray '\343' in program
    b[a]:=1;
 ^
/in/foo.cc:15:2: error: stray '\200' in program
    b[a]:=1;
  ^
/in/foo.cc:15:3: error: stray '\200' in program
    b[a]:=1;
   ^
/in/foo.cc:15:4: error: stray '\343' in program
    b[a]:=1;
    ^
/in/foo.cc:15:5: error: stray '\200' in program
    b[a]:=1;
     ^
/in/foo.cc:15:6: error: stray '\200' in program
    b[a]:=1;
      ^
/in/foo.cc:17:1: error: stray '\343' in program
   end;
 ^
/in/foo.cc:17:2: error: stray '\200' in program
   end;
  ^
/in/foo.cc:17:3: error: stray '\200' in program
   end;
   ^
/in/foo.cc:17:4: error: stray '\343' in program
   end;
    ^
/in/foo.cc:17:5: error: stray '\200' in program
   end;
     ^
/in/foo.cc:17:6: error: stray '\200' in program
   end;
      ^
/in/foo.cc:21:1: error: stray '\343' in program
   if b[i]=1 then begin inc(s);c:=i; end;
 ^
/in/foo.cc:21:2: error: stray '\200' in program
   if b[i]=1 then begin inc(s);c:=i; end;
  ^
/in/foo.cc:21:3: error: stray '\200' in program
   if b[i]=1 then begin inc(s);c:=i; end;
   ^
/in/foo.cc:21:4: error: stray '\343' in program
   if b[i]=1 then begin inc(s);c:=i; end;
    ^
/in/foo.cc:21:5: error: stray '\200' in program
   if b[i]=1 then begin inc(s);c:=i; end;
     ^
/in/foo.cc:21:6: error: stray '\200' in program
   if b[i]=1 then begin inc(s);c:=i; end;
      ^
/in/foo.cc:27:1: error: stray '\343' in program
   write(c[i],' ');
 ^
/in/foo.cc:27:2: error: stray '\200' in program
   write(c[i],' ');
  ^
/in/foo.cc:27:3: error: stray '\200' in program
   write(c[i],' ');
   ^
/in/foo.cc:27:4: error: stray '\343' in program
   write(c[i],' ');
    ^
/in/foo.cc:27:5: error: stray '\200' in program
   write(c[i],' ');
     ^
/in/foo.cc:27:6: error: stray '\200' in program
   write(c[i],' ');
      ^
/in/foo.cc:1:1: error: 'var' does not name a type
 var n,i,a,s:longint;
 ^~~
/in/foo.cc:3:8: error: 'b' does not name a type
    b,c:Array [1..1000] of longint;
        ^
/in/foo.cc:5:1: error: 'begin' does not name a type
 begin
 ^~~~~
/in/foo.cc:9:1: error: expected unqualified-id before 'for'
 for i:=1 to n do
 ^~~
/in/foo.cc:15:8: error: 'b' does not name a type
    b[a]:=1;
        ^
/in/foo.cc:17:7: error: 'end' does not name a type
   end;
       ^~~
/in/foo.cc:19:1: error: expected unqualified-id before 'for'
 for i:=1 to 1000 do
 ^~~
/in/foo.cc:21:35: error: 'c' does not name a type
   if b[i]=1 then begin inc(s);c:=i; end;
                                   ^
/in/foo.cc:21:41: error: 'end' does not name a type
   if b[i]=1 then begin inc(s);c:=i; end;
                                         ^~~
/in/foo.cc:23:8: error: expected constructor, destructor, or type conversion before '(' token
 writeln(s);
        ^
/in/foo.cc:25:1: error: expected unqualified-id before 'for'
 for i:=1 to s do
 ^~~
/in/foo.cc:29:1: error: 'writeln' does not name a type
 writeln;
 ^~~~~~~
/in/foo.cc:31:1: error: 'end' does not name a type
 end.
 ^~~

信息

递交者
类型
递交
题目
P1564 平方和的狂想
语言
C++
递交时间
2021-12-18 14:19:49
评测时间
2021-12-18 14:19:49
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes