[原创]POJ 2769 Reduced ID Numbers [同余]【数论】
[原创]POJ 2769 Reduced ID Numbers [同余]【数论】 2016-09-12 00:25:33 Tabris_ 阅读数:290 博客爬取于2020-06-14 22:43:22 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52509493 题目连接:http://poj.org/problem?id=2769 -------------------------------. Reduced ID Numbers Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 9927 Accepted: 3960 Description T. Chur teaches various groups of students at university U. Every U-student has a unique Student Identification Num ...
[原创]HDU 1573 X问题 [一元线性同余方程组]【数论】
[原创]HDU 1573 X问题 [一元线性同余方程组]【数论】 2016-09-11 17:03:47 Tabris_ 阅读数:366 博客爬取于2020-06-14 22:43:23 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52504739 题目链接:http://vjudge.net/contest/132006#problem/I ------------------------------------------. I - X问题 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description 求在小于等于N的正整数中有多少个X满足:X mod a[0] = b[0], X mod a[1] = b[1], X mod a[2] = b[2], …, X mod a[i] = b[ ...
[原创]codeforces 370div.2 C Memory and De-Evolution[逆向思维]【思维】
[原创]codeforces 370div.2 C Memory and De-Evolution[逆向思维]【思维】 2016-09-11 13:36:33 Tabris_ 阅读数:475 博客爬取于2020-06-14 22:43:25 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52503620 题目链接:http://codeforces.com/contest/712/problem/C --------------------------. C. Memory and De-Evolution time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Memory is now interested in the de-evolution of objects, specifical ...
[原创]HDU 5874 Friends and Enemies【思维】
[原创]HDU 5874 Friends and Enemies【思维】 2016-09-10 19:53:11 Tabris_ 阅读数:1446 博客爬取于2020-06-14 22:43:26 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52496677 题目连接:http://acm.split.hdu.edu.cn/showproblem.php?pid=5874 ---------------------------------------. Friends and Enemies Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 26 Accepted Submission(s): 14 Problem Description On an isolated island, ...
[原创]codeforces 552C Vanya and Scales 【思维】
[原创]codeforces 552C Vanya and Scales 【思维】 2016-09-09 13:07:02 Tabris_ 阅读数:345 博客爬取于2020-06-14 22:43:27 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52486102 题目链接:http://codeforces.com/contest/552/problem/C --------------------------------------. C. Vanya and Scales time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vanya has a scales for weighing loads and weights of masses w0, w1, w2, …, w100 g ...
[原创]codeforces 354A Vasya and Robot [思维]
[原创]codeforces 354A Vasya and Robot [思维] 2016-09-07 19:32:43 Tabris_ 阅读数:530 博客爬取于2020-06-14 22:43:28 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52462508 题目链接:http://codeforces.com/contest/354/problem/A -----------------------------------------------. A. Vasya and Robot time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vasya has n items lying in a line. The items are consecutively numbered b ...
[原创]codeforces 594A Warrior and Archer [对称博弈]【博弈】
[原创]codeforces 594A Warrior and Archer [对称博弈]【博弈】 2016-09-07 13:38:21 Tabris_ 阅读数:699 博客爬取于2020-06-14 22:43:29 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52458744 题目链接:http://codeforces.com/problemset/problem/594/A --------------------------------------------. A. Warrior and Archer time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output In the official contest this problem has a different statemen ...
[原创]codeforces #200 div2.C Rational Resistance [思维]
[原创]codeforces #200 div2.C Rational Resistance [思维] 2016-09-06 11:25:15 Tabris_ 阅读数:208 博客爬取于2020-06-14 22:43:30 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52448350 题目链接:http://codeforces.com/contest/344/problem/C --------------------------------------------------. C. Rational Resistance time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Mad scientist Mike is building a time machine in his sp ...
[原创]CSU 1799 小Z的黑白棋 2016湖南省赛热身 [贡献式思维]【组合数学】
[原创]CSU 1799 小Z的黑白棋 2016湖南省赛热身 [贡献式思维]【组合数学】 2016-09-05 17:17:27 Tabris_ 阅读数:346 博客爬取于2020-06-14 22:43:31 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52441909 题目链接: http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1799 ------------------------. 1799: 小Z的黑白棋 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 17 Solved: 9 [Submit][Status][Web Board] Description 小Z有一些黑白棋,他觉得黑白混杂在一起极具美感,所以他总喜欢将这些棋子排成一排序列S1,但是小Y就喜欢跟小Z作对,她会趁小Z不注意偷偷将小Z最右边的棋子拿走,往他棋子序列的最左边添 ...
[原创]codeforces 664B Rebus [细节]
[原创]codeforces 664B Rebus [细节] 2016-09-01 15:54:48 Tabris_ 阅读数:491 博客爬取于2020-06-14 22:43:32 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52400477 题目链接:http://codeforces.com/problemset/problem/664/B ---------------------------------. B. Rebus time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given a rebus of form ? + ? - ? + ? = n, consisting of only question marks, separated by arithm ...