随笔分类 -  其它-暴力

摘要:http://www.lydsy.com/JudgeOnline/problem.php?id=1684这货完全在考精度啊。。比如奇葩(llf)a/b*i(llf)(a/b*i)和(llf)(a/b)*i和(llf)(a/b)*(llf)i这两货竟然不通????上边的能对,下边的就错了??噗。全部都... 阅读全文
posted @ 2014-09-09 14:04 iwtwiioi 阅读(326) 评论(0) 推荐(0)
摘要:http://www.lydsy.com/JudgeOnline/problem.php?id=1653看了题解才会的。。T_T我们直接枚举每一种情况(这里用next_permutation,全排列)然后判断是否符合情况(累加判断)#include #include #include #includ... 阅读全文
posted @ 2014-09-07 08:07 iwtwiioi 阅读(348) 评论(0) 推荐(0)
摘要:http://wikioi.com/problem/1108/这题有点变态,因为他根本没有策略!还是说这题不是实时的?反正这题很变态,是在一个时间段同时消除所有的行列斜边,同一时间!!!!!!所以直接模拟找出所有这些行列就行了。#include #include #include #include ... 阅读全文
posted @ 2014-08-23 12:26 iwtwiioi 阅读(312) 评论(0) 推荐(0)