随笔分类 - 数学
摘要: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: 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...
阅读全文
摘要:描述 无向连通图 G 有 n 个点,n-1 条边。点从 1 到 n 依次编号,编号为 i 的点的权值为 WiWi, 每条边的长度均为 1。图上两点(u, v)的距离定义为 u 点到 v 点的最短距离。对于图 G 上的点对(u, v),若它们的距离为 2,则它们之间会产生WuWu×Wv...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output International Abbreviation Olympiad t...
阅读全文
摘要: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 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 test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Limak is a little polar bear. He pla...
阅读全文
摘要:time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Today Pari and Arya are playing a gam...
阅读全文
摘要: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 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 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...
阅读全文
摘要:【题目链接】:http://codeforces.com/contest/534/problem/C【题意】 给你n个奇怪的骰子,第i个骰子有di个面; 然后给你n个骰子的点数之和; 问你每一个骰子有哪一些面是不可能出现的; 【题解】 对于第i个骰子 设它的点数为x 设其他n-1...
阅读全文

浙公网安备 33010602011771号