随笔分类 - 数学
摘要:Time Limit: 1 second Memory Limit: 32 MB【问题描述】一个正整数一般可以分为几个互不相同的自然数的,如3=1+2,4=1+3,5=1+4=2+3,6=1+5=2+4,…。现在你的任务是将指定的正整数n分解成若干个互不相同的自然数的和,且使这些自然...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given two integers n and k. ...
阅读全文
摘要:Time Limit: 1 second Memory Limit: 128 MB【问题描述】一个数列定义如下:f(1) = 1,f(2) = 1,f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7。给定A,B和n的值,要求计算f(n)的 值。 说...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output n hobbits are planning to spend the n...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output On the Literature lesson Sergei notic...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output PolandBall is a young, clever Ball. ...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output One spring day on his way to univers...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Every Codeforces user has rating, de...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Kleofáš is participating in an n-thlo...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output A soldier wants to buy w bananas in t...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Mike is a bartender at Rico’s bar. A...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Santa Claus is the first who came to...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given three sticks with posit...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Long time ago Alex created an interes...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Bachgold problem is very easy to form...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output After seeing the “ALL YOUR BASE ARE B...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vladik and Chloe decided to determine...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Vanya has a scales for weighing loads...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Little Lesha loves listening to musi...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output As you have noticed, there are lovely...
阅读全文

浙公网安备 33010602011771号