水题
gx翔鸽
革命尚未成功,同志任需努力,先改造自己
展开
-
Codeforces Round #481 (Div. 3)A. Remove Duplicates【水题】
A. Remove Duplicatestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya has an array aa consisting of nn integers. He wants to remove duplicate (...原创 2018-05-14 23:20:56 · 403 阅读 · 0 评论 -
牛客oi测试赛2C——数列下标【模拟,水题】
链接:https://www.nowcoder.com/acm/contest/185/C 来源:牛客网 给出一个数列 A,求出一个数列B. 其中Bi 表示 数列A中 Ai 右边第一个比 Ai 大的数的下标(从1开始计数),没有找到这一个下标 Bi 就为0 输出数列B 输入描述: 第一行1个数字 n (n ≤ 10000) 第二行n个数字第 i 个数字为 Ai (0...原创 2018-09-10 23:05:16 · 221 阅读 · 0 评论 -
codeforces1051A——Vasya And Password【暴力,模拟】
A. Vasya And Password time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasya came up with a password to register for EatForces — a ...原创 2018-10-07 22:01:49 · 294 阅读 · 1 评论 -
Codeforces Round #515 (Div. 3)A. Vova and Train【水题】
A. Vova and Train time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vova plans to go to the conference by train. Initially, the trai...原创 2018-10-14 22:19:38 · 383 阅读 · 0 评论 -
Codeforces Round #533 (Div. 2)A. Salem and Sticks[思维,数学,水题]
A. Salem and Sticks Salem gave you nn sticks with integer positive lengths a1,a2,…,ana1,a2,…,an. For every stick, you can change its length to any other positive integer length (that is, either shri...原创 2019-01-23 14:43:38 · 468 阅读 · 0 评论