文件名称:empire
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:21.84kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
现在,给出正方形的边长n,以及需要封地的诸侯数量k,要求你求出所有可能的安置方案数。(n≤l00,k≤2n2-2n+1)。由于方案数可能很多,你只需要输出方案数除以504的余数即可。
【输入】
仅一行,两个整数n和k,中间用一空格隔开。
【输出】
一个整数,表示方案数除以504的余数。
【样例输入】
2 2
【样例输出】
4
-Now, give a square of side length n, as well as the quantity required feudal fief of the k, find all ask you to program the number of possible resettlement. (n ≤ l00, k ≤ 2n2-2n+1). Probably a lot of programs because of the number, you only need to program the number of output divided by the remainder of 504 can. 【Input】 only his party, the two integers n and k, with a space between separated. 【Output】 an integer, said the program divided by the remainder of 504. Sample input 2】 【2】 【sample output 4
【输入】
仅一行,两个整数n和k,中间用一空格隔开。
【输出】
一个整数,表示方案数除以504的余数。
【样例输入】
2 2
【样例输出】
4
-Now, give a square of side length n, as well as the quantity required feudal fief of the k, find all ask you to program the number of possible resettlement. (n ≤ l00, k ≤ 2n2-2n+1). Probably a lot of programs because of the number, you only need to program the number of output divided by the remainder of 504 can. 【Input】 only his party, the two integers n and k, with a space between separated. 【Output】 an integer, said the program divided by the remainder of 504. Sample input 2】 【2】 【sample output 4
(系统自动生成,下载前可以参看下载内容)
下载文件列表
empire.docx
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.