随笔分类 - 技巧_模拟
摘要:893A Chess For Three 思路: 直接模拟即可,第一盘永远是A与B开始 代码: c++ include using namespace std; define _for(i,a,b) for(int i=(a); i n; _rep(i,1,3) a[i]=i; _rep(i,1,n
阅读全文
摘要:C. Petya and Catacombstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA very brave explorer Petya
阅读全文
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5504 思路:模拟 代码: 1 #include<stdio.h>// 杭电5504 2 #include<algorithm> 3 #include<math.h> 4 #include<iostrea
阅读全文

浙公网安备 33010602011771号