[原创]POJ 3233 Matrix Power Series [矩阵快速幂]【数论】[水]
[原创]POJ 3233 Matrix Power Series [矩阵快速幂]【数论】[水] 2016-09-13 17:00:13 Tabris_ 阅读数:278 博客爬取于2020-06-14 22:43:20 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52527503 题目链接 : http://poj.org/problem?id=3233 -----------------------------------------. Matrix Power Series Time Limit: 3000MS Memory Limit: 131072K Total Submissions: 20930 Accepted: 8760 Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Inpu ...
[原创]POJ 2115 C Looooops [扩展欧几里得]【数论】[水]
[原创]POJ 2115 C Looooops [扩展欧几里得]【数论】[水] 2016-09-13 12:29:47 Tabris_ 阅读数:405 博客爬取于2020-06-14 22:43:21 以下为正文 版权声明:本文为Tabris原创文章,未经博主允许不得私自转载。 https://blog.csdn.net/qq_33184171/article/details/52524819 题目链接:http://poj.org/problem?id=2115 ----------------------------------. C Looooops Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 24028 Accepted: 6658 Description A Compiler Mystery: We are given a C-language style for loop of type for (variable = A; variable != B; variable += C) s ...
[原创]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 ...