摘要:
地址:http://acm.csust.edu.cn/contest/78/problem/A Input 第一行包含一个正整数n(1\leq n\leq 10^5)n(1≤n≤105)。 第二行包含nn个整数a_i(1\leq a_i\leq 100)ai(1≤ai≤100)。 第三行包含nn 阅读全文
posted @ 2020-03-16 23:23
liyexin
阅读(290)
评论(0)
推荐(0)
摘要:
http://codeforces.com/contest/1304 这把心态爆炸哈哈,B题把心思搞得很乱,写着写着受不了就关机了。以后不能这样了,一个普通比赛心态就这么差,谈何比赛? A. Two Rabbits 题意:倆兔子,坐标轴上一只往左一只往右,给出初始坐标和速度问是否能在同一时间相遇。 阅读全文
posted @ 2020-03-16 15:59
liyexin
阅读(80)
评论(0)
推荐(0)
摘要:
在csdn那里看到好多人用截图的方式,我也试试~ A: 题意:把第一堆以外的其他堆往第一堆运,规定天数以内第一堆最多是多少 解析:简单模拟即可 #include<iostream> #include<cstdio> #include<stack> #include<cstring> #include 阅读全文
posted @ 2020-03-16 15:58
liyexin
阅读(153)
评论(0)
推荐(0)

浙公网安备 33010602011771号