摘要:
/*第一次学习自己写的,更好的版本在动态规划一文中*/#include<iostream> using namespace std; int a[10005],vis[10005]; int main(){ int n;cin>>n; int maxx=0; int max; //dp[n]=dp[ 阅读全文
摘要:
Let's design a new chess game. There are N positions to hold M chesses in this game. Multiple chesses can be located in the same position. The positio 阅读全文
摘要:
Digital deletions is a two-player game. The rule of the game is as following. Begin by writing down a string of digits (numbers) that's as long or as 阅读全文
摘要:
#include<iostream> #include<cstdio> #include<cstring> #include<vector> using namespace std; int main(){ int n;//max int a[102],x[102],vis[102],sg[102] 阅读全文
摘要:
D - Pagodas Visible Lattice Point POJ 3696 The Luckiest number POJ 3696 The Luckiest number POJ 3696 The Luckiest number POJ 3696 The Luckiest number 阅读全文