上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: 原题链接:http://codeforces.com/gym/100523/attachments/download/2798/20142015-ct-s02e07-codeforces-trainings-season-2-episode-7-en.pdf题意给你一堆三维点,问你他们是否共面题解模... 阅读全文
posted @ 2015-08-14 19:06 好地方bug 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 什么是输入挂?众所周知scanf比cin快的多,那么有没有比scanf更快的东西呢?答案就是输入挂,输入挂利用了告诉读取的函数getchar(),然后再人工处理成整数或浮点,比使用scanf快太多。什么时候用输入挂?当输入规模达到1×10^6次方的时候,就需要输入挂,否则很有可能超时。代码代码不是我... 阅读全文
posted @ 2015-08-13 19:15 好地方bug 阅读(3895) 评论(0) 推荐(0) 编辑
摘要: 突然想写个系列,算是总结总结集训中遇到的各种黑科技吧,这是目录ACM的奇计淫巧_输入挂ACM的奇计淫巧_扩栈C++/G++ACM的奇计淫巧_bitset优化 阅读全文
posted @ 2015-08-13 19:08 好地方bug 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 原题链接:http://acm.timus.ru/problem.aspx?space=1&num=17801780. Gray CodeTime limit: 0.5 secondMemory limit: 64 MBDenis, Vanya and Fedya gathered at their... 阅读全文
posted @ 2015-08-13 18:51 好地方bug 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 题目链接:http://acm.timus.ru/problem.aspx?space=1&num=17741774. Barber of the Army of MagesTime limit: 0.5 secondMemory limit: 64 MBPetr, elected as a war... 阅读全文
posted @ 2015-08-13 18:43 好地方bug 阅读(243) 评论(0) 推荐(0) 编辑
摘要: G. Suggested Friendstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus works as a progra... 阅读全文
posted @ 2015-08-12 00:45 好地方bug 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 原题链接:http://acm.hdu.edu.cn/showproblem.php?pid=4587TWO NODESTime Limit: 24000/12000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Sub... 阅读全文
posted @ 2015-08-11 23:51 好地方bug 阅读(229) 评论(0) 推荐(0) 编辑
摘要: C++#pragma comment(linker, "/STACK:102400000,102400000")G++ int size = 256 << 20; // 256MB char *p = (char*)malloc(size) + size; __asm__("m... 阅读全文
posted @ 2015-08-11 23:43 好地方bug 阅读(2359) 评论(0) 推荐(0) 编辑
摘要: How far away ?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8712Accepted Submission(s): 3047Prob... 阅读全文
posted @ 2015-08-10 00:01 好地方bug 阅读(328) 评论(0) 推荐(0) 编辑
摘要: NetworkTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1014Accepted Submission(s): 206Problem Des... 阅读全文
posted @ 2015-08-09 20:54 好地方bug 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页