随笔分类 - 数学
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Barney lives in country USC (United S...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output This is an interactive problem. You s...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output On vacations n pupils decided to go o...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output And while Mishka is enjoying her tri...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output ZS the Coder has recently found an i...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given a table consisting of ...
阅读全文
摘要:Time Limit: 1 second Memory Limit: 128 MB【问题描述】求方程f(x)=2^x+3^x-4^x=0在[1,2]内的根 提示:2^x可以表示成exp(x*ln(2))的形式。 【输入格式】[1,2]的区间值【输出格式】方程f(x)=0的根,x的值...
阅读全文
摘要:Time Limit: 3 second Memory Limit: 2 MB【问题描述】给出一个整数n(n#include using namespace std;char n[40];int m,f[10];bool g[10][10];int ans[200];int main...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output There is a polyline going through poi...
阅读全文
摘要:time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Bogdan has a birthday today and mom ...
阅读全文
摘要:time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outputAyrat is looking for the perfect c...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Peter got a new snow blower as a New...
阅读全文
摘要:描述 无向连通图 G 有 n 个点,n-1 条边。点从 1 到 n 依次编号,编号为 i 的点的权值为 WiWi, 每条边的长度均为 1。图上两点(u, v)的距离定义为 u 点到 v 点的最短距离。对于图 G 上的点对(u, v),若它们的距离为 2,则它们之间会产生WuWu×Wv...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Wet Shark asked Rat Kwesh to generat...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output International Abbreviation Olympiad t...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given a rebus of form ? + ? -...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Vasya decided to pass a very large i...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output We all know the impressive story of R...
阅读全文
摘要:time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Limak is a little polar bear. He pla...
阅读全文
摘要:【题目链接】:http://codeforces.com/contest/527/problem/A【题意】 让你每次从一个长方形里面截出一个边长为长方形的较短边的正方形; 然后留下的部分重复上述步骤; 直到剩下的部分为正方形为止; 问你一共截出了多少个正方形 【题解】 写个递归...
阅读全文

浙公网安备 33010602011771号