=====思维=====
文章平均质量分 62
CerberuX
一只鶸,两手敲
展开
-
HDU 5742 It's All In The Mind(贪心?)
观察给出的分式可知#include <bits/stdc++.h>using namespace std;int a[101];int main(){ int t, n, m, xi, yi; cin >> t; while(t--){ memset(a,-1,sizeof(a)); cin >> n >> m; whil原创 2016-07-21 19:59:03 · 570 阅读 · 0 评论 -
HDU 5762 Teacher Bo(暴力+思维)
hdu5762原创 2016-07-26 21:39:53 · 368 阅读 · 0 评论 -
HDU 5773 The All-purpose Zero(LIS特殊处理)
Problem Description ?? gets an sequence S with n intergers(0 < n <= 100000,0<= S[i] <= 1000000).?? has a magic so that he can change 0 to any interger(He does not need to change all 0 to the same inte原创 2016-07-28 19:38:16 · 390 阅读 · 0 评论 -
HDU 5775 Bubble Sort(逆序对)
逆序对原创 2016-07-28 20:19:05 · 396 阅读 · 0 评论 -
HDU 1729 Stone Game(思维 & SG函数)
Problem Description This game is a two-player game and is played as follows:There are n boxes; each box has its size. The box can hold up to s stones if the size is s.At the beginning of the game, t原创 2016-08-15 21:46:08 · 558 阅读 · 0 评论 -
HDU 5831 Rikka with Parenthesis II (栈&思维)
Problem Description As we know, Rikka is poor at math. Yuta is worrying about this situation, so he gives Rikka some math tasks to practice. There is one of them:Correct parentheses sequences can be d原创 2016-08-11 18:14:31 · 694 阅读 · 0 评论