HDU
唇红齿白马文才
A smile that I would never see again
展开
-
HDU 1001 Sum Problem
Sum Problem Problem Description Hey, welcome to HDOJ(Hangzhou Dianzi University Online Judge). In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + ... + n. Input原创 2014-03-15 18:08:58 · 621 阅读 · 0 评论 -
HDU 1000 A + B Problem
A + B Problem Problem Description Calculate A + B. Input Each line will contain two integers A and B. Process to end of file. Output For each case, output A + B原创 2014-03-15 18:04:06 · 522 阅读 · 0 评论 -
HDU 1002 A + B Problem II 【大数相加】(3.16)
A + B Problem II Problem Description I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line of t原创 2014-03-16 11:51:00 · 568 阅读 · 0 评论 -
HDU 2000 - 2009
2000 题目描述: 输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。 #include #include using namespace std; int main() { char a[3]; while(cin>>a) { sort(a,a+3); cout<<a[0]<<" "<<a[1]<<" "原创 2014-03-23 23:43:15 · 847 阅读 · 0 评论