码迷,mamicode.com
首页 >  
搜索关键字:hdu1220    ( 3个结果
题解报告:hdu1220 Cube
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1220 做题思路:先在n^n^n个单位立方体中取2个(即一对),然后减去有公共点为4的立方体对数,即为所求。 总的对数:n*n*n的立方体可以分成n*n*n个单位立方体,所以一共有C(n*n*n,2)对 ...
分类:其他好文   时间:2018-02-24 22:00:29    阅读次数:161
hdu 1220 Cube 简单数论
Problem Description Cowl is good at solving math problems. One day a friend asked him such a question: You are given a cube whose edge length is N, it is cut by the planes that was paralleled to its side planes into N * N * N unit cubes. Two unit cubes may...
分类:其他好文   时间:2015-03-12 15:08:38    阅读次数:216
HDU1220 Cube
Cube Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 1372    Accepted Submission(s): 1085 Problem Description Cowl is good at solvi...
分类:其他好文   时间:2014-08-28 09:41:19    阅读次数:174
3条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!