自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 收藏
  • 关注

原创 Virgo's Trial第D题

A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = <x1, x2, …, xm> another sequence Z = <z1, z2, …, zk> is a subseque...

2019-01-22 18:25:17 97

原创 Gemini's Trial 第F题

Nowadays, we all know that Computer College is the biggest department in HDU. But, maybe you don’t know that Computer College had ever been split into Computer College and Software College in 2002.Th...

2019-01-22 12:12:55 146

原创 Leo's Trial第 I 题

要求(A/B)%9973,但由于A很大,我们只给出n(n=A%9973)(我们给定的A必能被B整除,且gcd(B,9973) = 1)。Input数据的第一行是一个T,表示有T组数据。每组数据有两个数n(0 <= n < 9973)和B(1 <= B <= 10^9)。Output对应每组数据输出(A/B)%9973。Sample Input21000 53...

2019-01-22 11:52:20 177

原创 杨辉三角

还记得中学时候学过的杨辉三角吗?具体的定义这里不再描述,你可以参考以下的图形:11 11 2 11 3 3 11 4 6 4 11 5 10 10 5 1Input输入数据包含多个测试实例,每个测试实例的输入只包含一个正整数n(1<=n<=30),表示将要输出的杨辉三角的层数。Output对应于每一个输入,请输出相应层数的杨辉三角,每一层的整数之间用一个空格隔开,每...

2018-12-15 21:31:34 231

原创 杭电2000

Problem Description输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。Input输入数据有多组,每组占一行,有三个字符组成,之间无空格。Output对于每组输入数据,输出一行,字符中间用一个空格分开。Sample InputqweasdzxcSample Outpute q wa d sc x z#include <iostre...

2018-12-12 07:55:41 390

原创 杭电1096

Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Each line starts with a integer M, and then M inte...

2018-12-11 22:49:25 209

原创 杭电1095

Problem DescriptionYour task is to Calculate a + b.InputThe input will consist of a series of pairs of integers a and b, separated by a space, one pair of integers per line.OutputFor each pair of...

2018-12-11 22:23:22 135

原创 杭电1094

Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains multiple test cases, and one case one line. Each case starts with an integer N, and then N integers follow ...

2018-12-11 21:42:19 106

原创 杭电1903

Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Each line starts with a integer M, and then M inte...

2018-12-11 20:50:32 99

原创 杭电1092

Problem DescriptionYour task is to Calculate the sum of some integers.InputInput contains multiple test cases. Each test case contains a integer N, and then N integers follow in the same line. A te...

2018-12-11 20:16:57 283

原创 杭电1091

Problem DescriptionYour task is to Calculate a + b.InputInput contains multiple test cases. Each test case contains a pair of integers a and b, one pair of integers per line. A test case containing...

2018-12-11 19:58:13 271

原创 杭电1090

Problem DescriptionYour task is to Calculate a + b.InputInput contains an integer N in the first line, and then N lines follow. Each line consists of a pair of integers a and b, separated by a spac...

2018-12-11 19:49:27 116

原创 杭电1089

Problem DescriptionYour task is to Calculate a + b.Too easy?! Of course! I specially designed the problem for acm beginners.You must have found that some problems have the same titles with this one...

2018-12-11 19:39:59 107

原创 杭电1001

问题描述嗨,欢迎来到HDOJ(杭州一袭大学在线判断)。在这个问题上,你的任务是计算总和(n)= 1 + 2 + 3 +… + n。输入输入将包含一系列整数n,每行一个整数。输出每种情况下,输出总和(n)在一行,其次是一个空行。 你可能会认为结果将是在32位带符号整数。样例输入1100样例输出1 1100 5050#include <iostream>us...

2018-12-11 19:29:29 173

原创 第一周训练A题

Text ReverseTime limit1000 msMemory limit65536 kBSourceCodeforces Beta Round #4 (Div. 2 Only)Tagsbrute force math *1200EditorialAnnouncement Tutorial #1 Tutorial #2 Tutorial #3A-problem AOne hot su...

2018-12-09 12:09:10 226

原创 ACM第三题

Text ReverseTime limit2000 msMemory limit262144 kBSourceCodeforces Round #163 (Div. 2)Tagsimplementation *800EditorialAnnouncement TutorialProblem DescriptionThere are n stones on the table in a ro...

2018-12-08 10:33:27 131

原创 ACM第六题

String TaskTime limit1000 msMemory limit32768 kBOSWindowsSourceC语言程序设计练习(一)Problem Description输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。Input输入数据有多组,每组占一行,有三个字符组成,之间无空格。Output对于每组输入数据,输出一行,字符中间用一个空格分开...

2018-12-07 19:34:21 91

原创 ACM第八题

A + B Problem TooThis problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For example ,if (A+B)=98,you should output no for result....

2018-12-07 18:05:46 121

原创 ACM第四题

A + B ProblemCalculate A + B.InputEach line will contain two integers A and B. Process to end of file.OutputFor each case, output A + B in one line.#include “pch.h”#include using namespace std...

2018-12-07 17:12:38 134

原创 ACM第二题

George and AccommodationGeorge has recently entered the BSUCP (Berland State University for Cool Programmers). George has a friend Alex who has also entered the university. Now they are moving into a...

2018-12-07 17:02:11 161

原创 ACM第一题

String TaskPetya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed to do the following: in the given string, consisting if up...

2018-12-07 16:40:38 231

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除