- 博客(13)
- 收藏
- 关注
原创 题解
NOIP2015模拟试题题解 chongjg的求助 【题目大意】 求nn以内所有的(m,k)(m,k),使得下式成立: m3=(k+1)2+(k+2)2+...+(k+m)2m^3=(k+1)^2+(k+2)^2+...+(k+m)^2 【算法一】 1~n 一个一个数枚举,期望得分30分 【算法二】 如果有O(n)的做法,则期望得分50分 【算法三】 各种推一推。。。 设
2015-10-30 13:06:30
493
转载 欢迎使用优快云-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦: Markdown和扩展Markdown简洁的语法 代码块高亮 图片链接和图片上传 LaTex数学公式 UML序列图和流程图 离线写博客 导入导出Markdown文件 丰富的快捷键 快捷键 加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2015-03-17 12:58:30
506
原创 sgu139
题目: 139. Help Needed! time limit per test: 0.25 sec. memory limit per test: 4096 KB Little Johnny likes puzzles a lot! Just a few days ago, he found out about the 'traditional' 4x
2015-01-20 13:13:59
686
原创 sgu128
题目: 128. Snake time limit per test: 0.25 sec. memory limit per test: 4096 KB There are N points given by their coordinates on a plane. All coordinates (xi,yi) are integers in a ra
2015-01-06 22:40:31
519
原创 sgu121
题目: 121. Bridges painting time limit per test: 0.25 sec. memory limit per test: 4096 KB New Berland consists of N (1£ N£ 100) islands, some of them are connected by bridges. There
2014-12-12 22:33:37
500
原创 sgu144
题目: 144. Meeting time limit per test: 0.25 sec. memory limit per test: 4096 KB Two of the three members of the winning team of one of the ACM regional contests are going to meet i
2014-12-12 12:58:02
555
原创 sgu124
题目: 124. Broken line time limit per test: 0.25 sec. memory limit per test: 4096 KB There is a closed broken line on a plane with sides parallel to coordinate axes, without self-cr
2014-12-11 21:14:33
563
原创 sgu120
题目 120. Archipelagotime limit per test: 0.25 sec. memory limit per test: 4096 KBArchipelago Ber-Islands consists of N islands that are vertices of equiangular and equilateral N-gon. Islands are clock
2014-12-09 22:08:39
519
原创 sgu119
题目: 119. Magic Pairs time limit per test: 0.25 sec. memory limit per test: 4096 KB “Prove that for any integer X and Y if 5X+4Y is divided by 23 than 3X+7Y is divided by 23 too.”
2014-12-09 22:04:53
603
原创 sgu111高精度开方
题目 111. Very simple problem time limit per test: 0.25 sec. memory limit per test: 4096 KB You are given natural number X. Find such maximum integer number that it square is not gr
2014-12-07 19:41:03
600
原创 sgu110计算几何
题意: 110. Dungeon time limit per test: 0.25 sec. memory limit per test: 4096 KB The mission of space explorers found on planet M the vast dungeon. One of the dungeon halls is fill wi
2014-12-07 11:46:19
660
原创 sgu100
100 读入两个整数A和B,输出它们的和。 水题 #include using namespace std; int main() {int a, b; cin >> a >> b; cout << a + b << endl; }
2014-11-26 19:19:40
523
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅