摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1058 #include<stdio.h> #include<string.h> int dp[6000]={0,1}; char str[5][5]={"th","st","nd","rd"}; int 阅读全文
摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=1022 #include<iostream> #include<cstring> #include<stack> using namespace std; int main(){ int n,i,j,k; bool 阅读全文
摘要:
1. 小游戏(一般) 要求:程序随机产生20—50根火柴,由人与计算机轮流拿,每次拿的数量不超过3根,拿到最后一根为胜。 public class Match { int number_Of_Match; public void random_Number(){ number_Of_Match=(i 阅读全文