
-> 模拟 <-
文章平均质量分 85
Joefery
生命不息,战斗不止。
展开
-
codeforces 711B. Chris and Magic Square【模拟】
B. Chris and Magic Squaretime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZS the Coder and Chris the Baboon原创 2016-08-29 23:32:59 · 1103 阅读 · 0 评论 -
java大数类的应用
前阵子学了一下java处理大数的方法。顺便写了几道大数水题,补一补代码..大整数加法:点击打开链接import java.io.*; import java.util.*; import java.math.*;public class Main{ public static void main(String args[]) {原创 2016-08-17 15:04:09 · 419 阅读 · 0 评论 -
UVA 12657 链表模拟
You have n boxes in a line on the table numbered 1. . . n from left to right. Your task is to simulate 4kinds of commands:• 1 X Y : move box X to the left to Y (ignore this if X is already the lef原创 2016-05-30 18:07:06 · 470 阅读 · 0 评论 -
CodeForces 606B Testing Robots【读题题QAQ】
DescriptionThe Cybernetics Failures (CF) organisation made a prototype of a bomb technician robot. To find the possible problems it was decided to carry out a series of tests. At the beginning of原创 2016-11-05 02:25:03 · 560 阅读 · 0 评论 -
CodeForces 405B Domino Effect【模拟】
DescriptionLittle Chris knows there's no fun in playing dominoes, he thinks it's too random and doesn't require skill. Instead, he decided to play with the dominoes and make a "domino show".Chri原创 2016-11-06 16:30:01 · 500 阅读 · 0 评论 -
UVALive 7337 Counting Weekend Days【水题】
题目链接/* 题意:给你一个月份和这个月份的第一个星期几,问你有几个星期六日 类型:模拟 分析:简单模拟,打表日期不小心WA了一次QAQ*/#include#include#include#includeusing namespace std;int shu[13]={0,31,28,31,30,31,30,31,31,30,31,30,原创 2016-10-26 00:51:40 · 410 阅读 · 0 评论