0_0_19128781_11146.cpp:1:1: error: 'var' does not name a type
var t,k,i,n,m:longint;
^
0_0_19128781_11146.cpp:2:5: error: 'sum' does not name a type
sum,x:int64;
^
0_0_19128781_11146.cpp:3:1: error: 'begin' does not name a type
begin
^
0_0_19128781_11146.cpp:5:3: error: expected unqualified-id before 'for'
for k:=1 to t do
^
0_0_19128781_11146.cpp:8:9: error: expected constructor, destructor, or type conversion before '(' token
read(n,m);
^
0_0_19128781_11146.cpp:9:5: error: expected unqualified-id before 'for'
for i:=1 to n do
^
0_0_19128781_11146.cpp:12:7: error: 'sum' does not name a type
sum:=sum+x;
^
0_0_19128781_11146.cpp:13:5: error: 'end' does not name a type
end;
^
0_0_19128781_11146.cpp:14:5: error: expected unqualified-id before 'for'
for i:=1 to m do
^
0_0_19128781_11146.cpp:17:7: error: expected unqualified-id before 'if'
if sum>x then write('0') else write('1');
^
0_0_19128781_11146.cpp:18:5: error: 'end' does not name a type
end;
^
0_0_19128781_11146.cpp:19:3: error: 'end' does not name a type
end;
^
0_0_19128781_11146.cpp:20:1: error: 'end' does not name a type
end.
^
|