EOJ 1444 In Danger
摘要:
http://acm.cs.ecnu.edu.cn/problem.php?problemid=1444约瑟夫环问题找规律: 1 1 1...1 2 1 10...1 3 3 11...1 4 1 100...1 5 3 101...1 6 5 110...1 7 7 111...1 8 11000...1左移一位 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 ... 阅读全文
posted @ 2014-01-16 23:06 KimKyeYu 阅读(251) 评论(0) 推荐(0) 编辑