使用方式:命令行
格式luogu++ [参数] 文件位置
解释器会自动找到.lgpp
源代码和.in
栈初始化(可以没有),生成输出至.out
.in
格式:
A data0 data1 ... datan
B data0 data1 ... datan
C data0 data1 ... datan
其中data0 ... datan默认按从栈底到栈顶的顺序
.out
中的data0 ... datan默认按从栈顶到栈底顺序
例子:
D:/code/cat.in
|A 3 4 5
D:/code/cat.lgpp
|1 1
|TER
shell>luogu++ D:/code/cat
...a few seconds later...
D:/code/cat.out
|A 5 4 3