摘要:
链接:https://ac.nowcoder.com/acm/contest/11254/E 来源:牛客网 题目描述 Given n, count the number of pairs of positive integers (x, y), such that xy+1∣x2+y2,1≤x≤y≤ 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/11254/J 来源:牛客网 题目描述 Goodeat finds an undirected complete graph with n vertices. Each edge of the graph is paint 阅读全文
摘要:
Problem Description Give you a cube with a side length of n-1. Find the number of equilateral triangles with three points on the cube point. Each side 阅读全文
摘要:
Problem Description Given a sequence of integers of length n, find the shortest consecutive subsequence witch XOR sum not less than k. If there are mu 阅读全文
摘要:
Problem Description Let’s call a weighted connected undirected graph of n vertices and m edges KD-Graph, if the following conditions fulfill: * n vert 阅读全文
摘要:
Problem Description Given n-1 points, numbered from 2 to n, the edge weight between the two points a and b is lcm(a, b). Please find the minimum spann 阅读全文
摘要:
Problem Description Given a matrix of n rows and m columns,find the largest area submatrix which is non decreasing on each column Input The first line 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/11253/K 来源:牛客网 题目描述 ZYT had a magic permutation a1,a2,⋯ ,ana1,a2,⋯,an, and he constructed a sequence b1,b2,⋯bnb 阅读全文
摘要:
链接:https://ac.nowcoder.com/acm/contest/11253/F 来源:牛客网 题目描述 ZYT and ZFeT are great PUAs and both have two girlfriends,but they never think that their g 阅读全文