摘要:
题目描述 Bessie is planning the annual Great Cow Gathering for cows all across the country and, of course, she would like to choose the most convenient lo 阅读全文
摘要:
高维网络 【题目描述】 现在有一个 d 维的坐标网格,其中第 i 维坐标的范围是[0,a_i]。在这个范围内建立一个有向图:我们把范围内的每个整点(每一维坐标均为整数的点)当做图上的顶点。设点 A(0,0,⋯,0),B(a_1,a_2,⋯,a_d)。对于范围内的点(x_1,x_2,⋯,x_d),它会 阅读全文
摘要:
1.花( flower.cpp/c/pas)【 问题描述】商店里出售 n 种不同品种的花。为了装饰桌面,你打算买 m 支花回家。你觉得放两支一样的花很难看,因此每种品种的花最多买 1 支。求总共有几种不同的买花的方案? 答案可能很大,输出答案 mod p 的值。【 输入格式】一行 3 个整数 n, 阅读全文