![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
acm练习题
文章平均质量分 55
htw今天AC了吗?
小白一名,头发还很茂密
展开
-
求凸五边形面积(根据顶点求法)
求凸五边形面积原创 2022-10-26 15:14:03 · 511 阅读 · 0 评论 -
A - A Hard Problem
Given a positive integer n, you need to find out the minimum integerksuch that for any subsetTof the set {1,2,⋯,n}of sizek, there exist two different integersu,v in T,u,v∈T ,thatuis a factor ofv.InputThe first line contains an integerT(1≤T≤1...原创 2021-10-09 21:43:30 · 181 阅读 · 0 评论 -
D - Friend-Graph
It is well known that small groups are not conducive of the development of a team. Therefore, there shouldn’t be any small groups in a good team.In a team with n members,if there are three or more members are not friends with each other or there are three原创 2021-10-09 21:24:41 · 55 阅读 · 0 评论 -
dd爱框框
链接:https://ac.nowcoder.com/acm/contest/11211/F来源:牛客网题目描述读入n,xn,xn,x,给出nnn个数a[1],a[2],……,a[n]a[1],a[2],……,a[n]a[1],a[2],……,a[n],求最小的区间[l,r][l,r][l,r],使a[l]+a[l+1]+……+a[r]≥xa[l]+a[l+1]+……+a[r]≥xa[l]+a[l+1]+……+a[r]≥x,若存在相同长度区间,输出lll最小的那个输入描述:第一行两个.原创 2021-05-29 20:45:59 · 217 阅读 · 1 评论 -
2021-05-23
F - StringAvin has a string. He would like to uniform-randomly select four characters (selecting the same character is allowed) from it. You are asked to calculate the probability of the four characters being ”avin” in order.InputThe first line co原创 2021-05-23 21:26:13 · 103 阅读 · 1 评论