摘要:
题目1 : 折线中点 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 给定平面上N个点P1, P2, ... PN,将他们按顺序连起来,形成一条折线。 请你求出这条折线的中点坐标。 输入 第一行包含一个整数N。 (2 <= N <= 100) 以下N行每行包含两个整数X 阅读全文
摘要:
A. Points on the line time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Points on the li 阅读全文
摘要:
Digit Holes Time limit: 1000 msMemory limit: 256 MB Digit Holes Time limit: 1000 msMemory limit: 256 MB When writing digits, some of them are consider 阅读全文
摘要:
靠这把上了蓝 A. Palindromic Supersequence time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You 阅读全文
摘要:
这场比赛题目还行,但是被一道数学题卡了 A - Supermarket CodeForces - 919A We often go to supermarkets to buy some fruits or vegetables, and on the tag there prints the pr 阅读全文
摘要:
这场打了小号 A. Word Correction time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Victor tries to 阅读全文
摘要:
第一场apc,5H的持久战,我当然水几个题就睡了 A - Two Integers Time limit : 2sec / Memory limit : 256MB Score : 100 points Problem Statement You are given positive integer 阅读全文
摘要:
我的代码应该不会被hack,立个flag A. Water The Garden time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output 阅读全文
摘要:
链接:https://www.nowcoder.com/acm/contest/71/A来源:牛客网 找一找 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 给定n个正整数,请找出其中有多少 阅读全文
摘要:
1、图的定义 图 是一个顶点集合V和一个顶点间关系的集合E组成,记G=(V,E) V:顶点的有限非空集合。 E:顶点间关系的有限集合(边集)。 存在一个结点v,可能含有多个前驱节点和后继结点。 1顶点(vertex) 上图中黑色的带数字的点就是顶点,表示某个事物或对象。由于图的术语没有标准化,因此, 阅读全文
摘要:
A. Eleven time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Eleven wants to choose a new na 阅读全文
摘要:
A. Supermarket time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output We often go to supermarke 阅读全文
摘要:
数独和dij卡了时间 A - Keyboard CodeForces - 474A Our good friend Mole is trying to code a big message. He is typing on an unusual keyboard with characters ar 阅读全文
摘要:
C - Candies Time limit : 2sec / Memory limit : 256MB Score : 300 points Problem Statement We have a 2×N grid. We will denote the square at the i-th ro 阅读全文
摘要:
链接:https://www.nowcoder.com/acm/contest/59/D来源:牛客网 求距离 求距离 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 给你一个1 -> n的排列, 阅读全文
摘要:
7-1 寻找250(10 分) 对方不想和你说话,并向你扔了一串数…… 而你必须从这一串数字中找到“250”这个高大上的感人数字。 输入格式: 输入在一行中给出不知道多少个绝对值不超过1000的整数,其中保证至少存在一个“250”。 输出格式: 在一行中输出第一次出现的“250”是对方扔过来的第几个 阅读全文
摘要:
csa66 Risk Rolls Time limit: 1000 msMemory limit: 256 MB Risk Rolls Time limit: 1000 msMemory limit: 256 MB Alena and Boris are playing Risk today. We 阅读全文
摘要:
985月赛,当时鸽了,现在想补一补 A. 石头剪刀布的套路 Time limit per test: 1.0 seconds Memory limit: 256 megabytes Time limit per test: 1.0 seconds Memory limit: 256 megabyte 阅读全文
摘要:
这场一边吃饭一边打,确实还是很菜的 C - Traveling Time limit : 2sec / Memory limit : 256MB Score : 300 points Problem Statement AtCoDeer the deer is going on a trip in 阅读全文
摘要:
我真的是太菜了 A. Perfect Squares time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Given an array 阅读全文