2015年11月13日

Sicily 1151 魔板

摘要: ConstraintsTime Limit: 1 secs, Memory Limit: 32 MB , Special JudgeDescription魔板由8个大小相同方块组成,分别用涂上不同颜色,用1到8的数字表示。其初始状态是1 2 3 48 7 6 5对魔板可进行三种基本操作:A操作(上下... 阅读全文

posted @ 2015-11-13 11:22 松下风 阅读(138) 评论(0) 推荐(0)

sicily 1063. Who's the Boss 排序+递推

摘要: 1 #include 2 #include 3 using namespace std; 4 struct Emp{ 5 int id, salary, height, boss, sub; 6 Emp(int i=0, int s=0, int h=0, int b=0, i... 阅读全文

posted @ 2015-11-13 11:12 松下风 阅读(133) 评论(0) 推荐(0)

导航