HDOJ
gandyLyn
Keep walking
展开
-
杭电 1003 最大连续子数组之和
#include <iostream> using namespace std; int main() { //以终为始,需要输出哪些数据? //结构及记录:样例数test,记录数组num[100001] //输出数值:和最大的连续子数组起点low、终点high、数值和max; //动态辅助数值:当前子数组的起点ori、动态和sum; ...原创 2019-10-14 10:49:04 · 25 阅读 · 0 评论 -
杭电1002 大数相加
Problem Description Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line of the input contains an integer T(1<=T<=20) ,which means the number of tes...原创 2019-10-14 10:16:13 · 30 阅读 · 0 评论