foo.cc:2:1: error: 'procedure' does not name a type
2 | procedure bubble_sort(n:longint);
| ^~~~~~~~~
foo.cc:3:1: error: 'var' does not name a type
3 | var
| ^~~
foo.cc:5:1: error: 'begin' does not name a type
5 | begin
| ^~~~~
foo.cc:11:1: error: 'a' does not name a type
11 | a[j]:=a[j+1];
| ^
foo.cc:12:1: error: 'a' does not name a type
12 | a[j+1]:=x;
| ^
foo.cc:13:1: error: 'end' does not name a type
13 | end;
| ^~~
foo.cc:14:1: error: 'end' does not name a type
14 | end;
| ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务