![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM暑假集训
zz328
。。。。
展开
-
基于卡塔兰数的括号匹配
这是暑假个人赛第一场的一个困扰了我一个下午的题! Brackets This year MK is 5 years old. So he decides to learn some arithmetic. But he was confused by how to write the brackets. He has already known that the brackets shoul原创 2013-07-07 21:45:42 · 605 阅读 · 2 评论 -
Matrix
Description To efficient calculate the multiplication of a sparse matrix is very useful in industrial filed. Let’s consider this problem: A is an N*N matrix which only contains 0 or 1. And we wan原创 2013-07-11 11:43:25 · 379 阅读 · 0 评论 -
Matrix Multiplication
又见矩阵!!我只能说矩阵的题目最难搞了。 Matrix Multiplication Description Johnnyand Johnare good friends. Johnnyis going to take the entrance exams for postgraduate schools. Recently, he is reviewing Linear Alg原创 2013-07-13 15:45:08 · 433 阅读 · 0 评论 -
一道关于快速幂的的水题
这是一道可以说是快速幂的入门题,本来是难不倒我的。可能是由于期末这段时间复习的原因,脑子不清醒总是不能A。最后找了模板才过的,不过这也让我更加深入的了解了快速幂的原理。其他就不说了直接上题 ---------------------------------------------------------------------------------------------------原创 2013-07-06 14:31:43 · 496 阅读 · 0 评论 -
Robots on a grid
Description You have recently made a grid traversing robot that can find its way from the top left corner of a grid to the bottom right corner. However, you had forgotten all your AI programming原创 2013-08-24 19:17:57 · 463 阅读 · 0 评论