不要让昨天 占据你的今天 夏午晴天

夏午晴天

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页

2017年4月22日

The Suspects

摘要: Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize 阅读全文

posted @ 2017-04-22 17:20 夏晴天 阅读(168) 评论(0) 推荐(0) 编辑

How Many Tables

摘要: Today is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at least. You have to 阅读全文

posted @ 2017-04-22 17:18 夏晴天 阅读(127) 评论(0) 推荐(0) 编辑

2017年4月20日

大数乘法java版

摘要: 1 import java.util.*; 2 import java.math.*; 3 4 public class NumMul{ 5 public static void main(String args[]){ 6 Scanner cin = new Scanner(System.in); 7 BigInteger a, b; ... 阅读全文

posted @ 2017-04-20 21:50 夏晴天 阅读(143) 评论(0) 推荐(0) 编辑

2017年4月17日

八皇后问题(dfs)

摘要: 1 #include 2 #include 3 using namespace std; 4 int num = 1; 5 bool a[8], b[16], c[16], vis[8][8]; 6 //a, b, c 数组标记 列 和 斜线 7 //正斜线上位置 x 和 y 相加为一个常数且每个斜线都不相等 8 //反斜线上位置 x 和 y 相减为一个常数且每个斜线都不相等... 阅读全文

posted @ 2017-04-17 22:45 夏晴天 阅读(190) 评论(0) 推荐(0) 编辑

President's Office

摘要: President of Berland has a very vast office-room, where, apart from him, work his subordinates. Each subordinate, as well as President himself, has hi 阅读全文

posted @ 2017-04-17 17:27 夏晴天 阅读(520) 评论(0) 推荐(0) 编辑

2017年4月15日

胜利大逃亡

摘要: Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会. 魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟后回到城堡, 阅读全文

posted @ 2017-04-15 20:33 夏晴天 阅读(128) 评论(0) 推荐(0) 编辑

2017年4月14日

789A Anastasia and pebbles

摘要: A. Anastasia and pebbles time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Anastasia loves 阅读全文

posted @ 2017-04-14 22:53 夏晴天 阅读(332) 评论(0) 推荐(0) 编辑

Knight Moves

摘要: A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves that visits eac 阅读全文

posted @ 2017-04-14 20:58 夏晴天 阅读(213) 评论(0) 推荐(0) 编辑

2017年4月13日

Knight Moves

摘要: Background Mr Somurolov, fabulous chess-gamer indeed, asserts that no one else but him can move knights from one position to another so fast. Can you 阅读全文

posted @ 2017-04-13 17:54 夏晴天 阅读(155) 评论(0) 推荐(0) 编辑

2017年4月12日

A^B mod C

摘要: 1046 A^B Mod C 基准时间限制:1 秒 空间限制:131072 KB 给出3个正整数A B C,求A^B Mod C。 例如,3 5 8,3^5 Mod 8 = 3。 给出3个正整数A B C,求A^B Mod C。 例如,3 5 8,3^5 Mod 8 = 3。 例如,3 5 8,3^ 阅读全文

posted @ 2017-04-12 18:21 夏晴天 阅读(492) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页

导航

Live2D