原创 POJ2566(77/600)

Signals of most probably extra-terrestrial origin have been received and digitalized by The Aeronautic and Space Ad

原创 HDU - 5816(70/600)

Hearthstone is an online collectible card game from Blizzard Entertainment. Strategies and luck are the most import

原创 HDU6092(83/600)

Problem Description As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka so

原创 poj3233(81/600)

Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Input The input contains e

原创 HDU - 5813(68/600)

Being an ACMer requires knowledge in many fields, because problems in this contest may use physics, biology, and ev

原创 CodeForces - 650A(104/600)

Watchmen are in a danger and Doctor Manhattan together with his friend Daniel Dreiberg should warn them as soon as poss

原创 CodeForces 850A(105/600)

You are given set of n points in 5-dimensional space. The points are labeled from 1 to n. No two points coincide. We wi

原创 CodeForces - 631C(103/600)

Each month Blake gets the report containing main economic indicators of the company “Blake Technologies”. There are n c

原创 HDU - 6166(102/600)點集之間最短路

Senior Pan fails in his discrete math exam again. So he asks Master ZKC to give him graph theory problems everyday. T

原创 HDU - 5876(100/600)

In graph theory, the complementcomplement of a graph GG is a graph HH on the same vertices such that two distinct verti

原创 UVA 10385(101/600)

A duathlon is a race that involves running r km and cycling k km. n contestants have entered the race; each contestant

原创 bzoj3566(106/600)

著名的電子產品品牌 SHOI 剛剛發佈了引領世界潮流的下一代電子產品——概率充電器: “採用全新納米級加工技術,實現元件與導線能否通電完全由真隨機數決定!SHOI 概率充電器,您生活不可或缺的必需品!能充上電嗎?現在就試試看吧! ”

原创 codeforces835D(94/600)

Palindromic characteristics of string s with length |s| is a sequence of |s| integers, where k-th number is the total n

原创 HDU3569(90/600)

是個板子題 學一下差分約束怎麼建邊的 //#include<bits/stdc++.h> #include<iostream> #include<cstdio> #include<cstring> #include<queue> #in

原创 codeforces841c(99/600)

C. Leha and Function time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstan