2013年8月24日

UVA 11922 Permutation Transformer Splay

摘要: DescriptionPermutation TransformerWrite a program to transform the permutation1, 2, 3,...,naccording tominstructions. Each instruction(a,b)means to take out the subsequence from thea-th to theb-th element, reverse it, then append it to the end.InputThere is only one case for this problem. The first 阅读全文

posted @ 2013-08-24 18:48 电子幼体 阅读(140) 评论(0) 推荐(0) 编辑

对拍程序

摘要: *.bat@echo off :loop rand.exe > data.in std.exe std.out my.exe my.out fc my.out std.out if not errorlevel 1 goto loop pause goto loop 阅读全文

posted @ 2013-08-24 18:43 电子幼体 阅读(127) 评论(0) 推荐(0) 编辑

导航