摘要:
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elev 阅读全文
摘要:
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English. Input Specificat 阅读全文
摘要:
Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less tha 阅读全文
摘要:
最长上升子序列: #include<bits/stdc++.h> using namespace std; #define inf 0x3fffffff const int maxn=1010; int A[maxn]; int dp[maxn]; //最长上升子序列 int main(){ int 阅读全文