摘要: 天天在这写代码不思考即使是写了作用也不大,这两天看了其他人的一些博客,发现有的人的博客写的确实很好。吾不能及心向往之,虽然书现在我还是一个渣渣,但是向优秀的人看起总是没错的。所以,以后每天也要养成学过之后写博客的习惯。想一想今天到底学了些什么,这是我在vjudge写的一道关于生日悖论的题点击打开链接... 阅读全文
posted @ 2017-08-01 20:15 Veritas_des_Liberty 阅读(207) 评论(0) 推荐(0)
摘要: 点击打开链接素数求和问题时间限制:3000 ms | 内存限制:65535 KB难度:2描述现在给你N个数(0int main(){ int i; scanf("%d",&i); while(i--) { int n; int sum=0; scanf("%d",&n); while(n... 阅读全文
posted @ 2017-08-01 18:18 Veritas_des_Liberty 阅读(531) 评论(0) 推荐(0)
摘要: 点击打开链接Sometimes some mathematical results are hard to believe. One of the common problems is the birthday paradox. Suppose you are in a party where th... 阅读全文
posted @ 2017-08-01 17:55 Veritas_des_Liberty 阅读(761) 评论(0) 推荐(0)
摘要: 点击打开链接摆方格时间限制:1000 ms | 内存限制:65535 KB难度:2描述 给你一个n*n的方格,每个方格里的数必须连续摆放如 1243 ,下图为不连续的,请输出从左上角到右下角的对角线上的最大和 1342 输入输入包含多组测试数据。每一行包括一个数据n,表示n*n的方格(保... 阅读全文
posted @ 2017-08-01 17:10 Veritas_des_Liberty 阅读(683) 评论(0) 推荐(0)