0_0_38894658_2782.cpp:20:22: error: too many decimal points in number
20 | var st:array[0..300] of char;
| ^~~~~~
0_0_38894658_2782.cpp:26:18: error: empty character constant
26 | ans:='';
| ^~
0_0_38894658_2782.cpp:64:21: error: too many decimal points in number
64 | var st:array[0..300] of ansistring;
| ^~~~~~
0_0_38894658_2782.cpp:65:20: error: too many decimal points in number
65 | r:array[0..300] of byte;
| ^~~~~~
0_0_38894658_2782.cpp:1:1: error: 'var' does not name a type
1 | var snum:set of char;
| ^~~
0_0_38894658_2782.cpp:2:7: error: 'n' does not name a type
2 | n,q:longint;
| ^
0_0_38894658_2782.cpp:3:8: error: found ':' in nested-name-specifier, expected '::'
3 | s:ansistring;
| ^
| ::
0_0_38894658_2782.cpp:3:7: error: 's' does not name a type
3 | s:ansistring;
| ^
0_0_38894658_2782.cpp:6:7: error: 'function' does not name a type; did you mean 'union'?
6 | function grade(ch:char):longint;
| ^~~~~~~~
| union
0_0_38894658_2782.cpp:7:7: error: 'begin' does not name a type
7 | begin
| ^~~~~
0_0_38894658_2782.cpp:9:13: error: expected unqualified-id before 'case'
9 | case ch of
| ^~~~
0_0_38894658_2782.cpp:11:13: error: expected unqualified-id before '-'
11 | '-':exit(1);
| ^~~
0_0_38894658_2782.cpp:12:13: error: expected unqualified-id before '*'
12 | '*':exit(2);
| ^~~
0_0_38894658_2782.cpp:13:13: error: expected unqualified-id before '/'
13 | '/':exit(2);
| ^~~
0_0_38894658_2782.cpp:14:13: error: expected unqualified-id before '('
14 | '(':exit(0);
| ^~~
0_0_38894658_2782.cpp:15:13: error: 'end' does not name a type
15 | end;
| ^~~
0_0_38894658_2782.cpp:16:7: error: 'end' does not name a type
16 | end;
| ^~~
0_0_38894658_2782.cpp:19:7: error: 'function' does not name a type; did you mean 'union'?
19 | function midfix_to_suffix(s:ansistring):ansistring;
| ^~~~~~~~
| union
0_0_38894658_2782.cpp:20:7: error: 'var' does not name a type
20 | var st:array[0..300] of char;
| ^~~
0_0_38894658_2782.cpp:21:13: error: 'top' does not name a type
21 | top,i:longint;
| ^~~
0_0_38894658_2782.cpp:22:16: error: found ':' in nested-name-specifier, expected '::'
22 | ans:ansistring;
| ^
| ::
0_0_38894658_2782.cpp:22:13: error: 'ans' does not name a type
22 | ans:ansistring;
| ^~~
0_0_38894658_2782.cpp:23:13: error: 'c' does not name a type
23 | c:char;
| ^
0_0_38894658_2782.cpp:24:7: error: 'begin' does not name a type
24 | begin
| ^~~~~
0_0_38894658_2782.cpp:26:13: error: 'ans' does not name a type
26 | ans:='';
| ^~~
0_0_38894658_2782.cpp:27:13: error: 'top' does not name a type
27 | top:=0;
| ^~~
0_0_38894658_2782.cpp:28:13: error: expected unqualified-id before 'for'
28 | for i:=1 to length(s) do
| ^~~
0_0_38894658_2782.cpp:31:19: error: expected unqualified-id before 'if'
31 | if c in snum then
| ^~
0_0_38894658_2782.cpp:32:37: error: expected unqualified-id before 'continue'
32 | begin ans:=ans+c; continue; end;
| ^~~~~~~~
0_0_38894658_2782.cpp:32:47: error: 'end' does not name a type
32 | begin ans:=ans+c; continue; end;
| ^~~
0_0_38894658_2782.cpp:33:19: error: expected unqualified-id before 'if'
33 | if c='(' then
| ^~
0_0_38894658_2782.cpp:34:35: error: 'st' does not name a type
34 | begin inc(top); st[top]:=c; continue; end;
| ^~
0_0_38894658_2782.cpp:34:47: error: expected unqualified-id before 'continue'
34 | begin inc(top); st[top]:=c; continue; end;
| ^~~~~~~~
0_0_38894658_2782.cpp:34:57: error: 'end' does not name a type
34 | begin inc(top); st[top]:=c; continue; end;
| ^~~
0_0_38894658_2782.cpp:35:19: error: expected unqualified-id before 'if'
35 | if c=')' then
| ^~
0_0_38894658_2782.cpp:40:34: error: expected constructor, destructor, or type conversion before '(' token
40 | dec(top);
| ^
0_0_38894658_2782.cpp:41:25: error: 'end' does not name a type
41 | end;
| ^~~
0_0_38894658_2782.cpp:42:28: error: expected constructor, destructor, or type conversion before '(' token
42 | dec(top);
| ^
0_0_38894658_2782.cpp:43:25: error: expected unqualified-id before 'continue'
43 | continue;
| ^~~~~~~~
0_0_38894658_2782.cpp:44:19: error: 'end' does not name a type
44 | end;
| ^~~
0_0_38894658_2782.cpp:45:19: error: expected unqualified-id before 'if'
45 | if grade(c)>grade(st[top]) then
| ^~
0_0_38894658_2782.cpp:46:35: error: 'st' does not name a type
46 | begin inc(top); st[top]:=c; continue; end;
| ^~
0_0_38894658_2782.cpp:46:47: error: expected unqualified-id before 'continue'
46 | begin inc(top); st[top]:=c; continue; end;
| ^~~~~~~~
0_0_38894658_2782.cpp:46:57: error: 'end' does not name a type
46 | begin inc(top); st[top]:=c; continue; end;
| ^~~
0_0_38894658_2782.cpp:47:19: error: expected unqualified-id before 'while'
47 | while (grade(c)<=grade(st[top])) do
| ^~~~~
0_0_38894658_2782.cpp:50:28: error: expected constructor, destructor, or type conversion before '(' token
50 | dec(top);
| ^
0_0_38894658_2782.cpp:51:19: error: 'end' does not name a type
51 | end;
| ^~~
0_0_38894658_2782.cpp:52:22: error: expected constructor, destructor, or type conversion before '(' token
52 | inc(top);
| ^
0_0_38894658_2782.cpp:53:19: error: 'st' does not name a type
53 | st[top]:=c;
| ^~
0_0_38894658_2782.cpp:54:13: error: 'end' does not name a type
54 | end;
| ^~~
0_0_38894658_2782.cpp:55:13: error: expected unqualified-id before 'while'
55 | while top>0 do
| ^~~~~
0_0_38894658_2782.cpp:58:22: error: expected constructor, destructor, or type conversion before '(' token
58 | dec(top);
| ^
0_0_38894658_2782.cpp:59:13: error: 'end' does not name a type
59 | end;
| ^~~
0_0_38894658_2782.cpp:60:17: error: expected constructor, destructor, or type conversion before '(' token
60 | exit(ans);
| ^
0_0_38894658_2782.cpp:61:7: error: 'end' does not name a type
61 | end;
| ^~~
0_0_38894658_2782.cpp:63:6: error: 'function' does not name a type; did you mean 'union'?
63 | function suffix_to_midfix(s:ansistring):ansistring;
| ^~~~~~~~
| union
0_0_38894658_2782.cpp:64:6: error: 'var' does not name a type
64 | var st:array[0..300] of ansistring;
| ^~~
0_0_38894658_2782.cpp:65:13: error: found ':' in nested-name-specifier, expected '::'
65 | r:array[0..300] of byte;
| ^
| ::
0_0_38894658_2782.cpp:65:12: error: 'r' does not name a type
65 | r:array[0..300] of byte;
| ^
0_0_38894658_2782.cpp:66:12: error: 'top' does not name a type
66 | top,j:longint;
| ^~~
0_0_38894658_2782.cpp:67:12: error: 'c' does not name a type
67 | c:char;
| ^
0_0_38894658_2782.cpp:68:12: error: 's1' does not name a type
68 | s1,s2:ansistring;
| ^~
0_0_38894658_2782.cpp:69:6: error: 'begin' does not name a type
69 | begin
| ^~~~~
0_0_38894658_2782.cpp:71:30: error: 'r' does not name a type
71 | begin st[j]:=' '; r[j]:=0; end;
| ^
0_0_38894658_2782.cpp:71:39: error: 'end' does not name a type
71 | begin st[j]:=' '; r[j]:=0; end;
| ^~~
0_0_38894658_2782.cpp:72:12: error: 'top' does not name a type
72 | top:=0;
| ^~~
0_0_38894658_2782.cpp:73:12: error: expected unqualified-id before 'for'
73 | for j:=1 to length(s) do
| ^~~
0_0_38894658_2782.cpp:76:18: error: expected un
|