摘要: Number theory TimeLimit:2000MS MemoryLimit:524MB 64-bit integer IO format:%I64d Problem Description Given a integers x = 1, you have to apply Q (Q ≤ 1 阅读全文
posted @ 2019-05-06 20:16 Q1311605467 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 这还是一道数论题 TimeLimit:4000MS MemoryLimit:128MB TimeLimit:4000MS MemoryLimit:128MB 64-bit integer IO format:%lld 64-bit integer IO format:%lld Special Jud 阅读全文
posted @ 2019-04-21 21:22 Q1311605467 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/625/A来源:牛客网 时间限制:C/C++ 2秒,其他语言4秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 题目描述 CC是著名的算法竞赛选手,他不仅人长得帅 阅读全文
posted @ 2019-04-15 19:27 Q1311605467 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/551/D来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Format: %lld 题目描述 CSL 以前不会字符串算法,经过一年的 阅读全文
posted @ 2019-04-10 20:25 Q1311605467 阅读(271) 评论(0) 推荐(0) 编辑
摘要: F. Graph Without Long Directed Paths time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You 阅读全文
posted @ 2019-04-01 18:18 Q1311605467 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 【问题描述】下图给出了一个迷宫的平面图,其中标记为 1 的为障碍,标记为 0 的为可以通行的地方。010000000100001001110000迷宫的入口为左上角,出口为右下角,在迷宫中,只能从一个位置走到这个它的上、下、左、右四个方向之一。对于上面的迷宫,从入口开始,可以按DRRURRDDDR 阅读全文
posted @ 2019-03-25 18:03 Q1311605467 阅读(928) 评论(0) 推荐(0) 编辑
摘要: 借鉴sandy老哥的对拍程序 https://www.cnblogs.com/sandychn/p/10355239.html 1 #include <cstdio> 2 #include <cstring> 3 #include <cstdlib> 4 #include <cerrno> 5 #i 阅读全文
posted @ 2019-03-13 22:37 Q1311605467 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 人群中钻出个光头 TimeLimit:1000MS MemoryLimit:256MB 64-bit integer IO format:%lld Problem Description 人话:有m+1种物品,每种物品的数量无限。从中抽取n个物品,有多少种不同的取法。 两个取法的被认为是不同的,当且 阅读全文
posted @ 2019-03-12 20:31 Q1311605467 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 魔咒词典 TimeLimit: 8000/5000 MS (Java/Others) MemoryLimit: 32768/32768 K (Java/Others) TimeLimit: 8000/5000 MS (Java/Others) MemoryLimit: 32768/32768 K ( 阅读全文
posted @ 2019-02-26 19:09 Q1311605467 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 第八集 你明明自己也生病了,却还是要陪着我 TimeLimit:3000ms MemoryLimit:256000KB TimeLimit:3000ms MemoryLimit:256000KB 64-bit integer IO format:%lld 64-bit integer IO form 阅读全文
posted @ 2019-02-25 23:25 Q1311605467 阅读(221) 评论(0) 推荐(0) 编辑