上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 55 下一页
摘要: 2800 送外卖 2800 送外卖 时间限制: 2 s 空间限制: 256000 KB 题目等级 : 钻石 Diamond 时间限制: 2 s 空间限制: 256000 KB 题目等级 : 钻石 Diamond 时间限制: 2 s 时间限制: 2 s 空间限制: 256000 KB 空间限制: 25 阅读全文
posted @ 2016-08-16 22:43 jhz033 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 1363 最小公倍数之和 题目来源: SPOJ 基准时间限制:1.5 秒 空间限制:131072 KB 分值: 160 给出一个n,求1-n这n个数,同n的最小公倍数的和。例如:n = 6,1,2,3,4,5,6 同6的最小公倍数分别为6,6,6,12,30,6,加在一起 = 66。 由于结果很大, 阅读全文
posted @ 2016-08-16 15:22 jhz033 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 1087: [SCOI2005]互不侵犯King Description 在N×N的棋盘里面放K个国王,使他们互不攻击,共有多少种摆放方案。国王能攻击到它上下左右,以及左上 左下右上右下八个方向上附近的各一个格子,共8个格子。 在N×N的棋盘里面放K个国王,使他们互不攻击,共有多少种摆放方案。国王能 阅读全文
posted @ 2016-08-13 15:56 jhz033 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Corn Fields Time Limit: 2000MS Memory Limit: 65536K Description Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 1 阅读全文
posted @ 2016-08-13 14:42 jhz033 阅读(133) 评论(0) 推荐(0) 编辑
摘要: D. Petya and His Friends time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Little Petya ha 阅读全文
posted @ 2016-08-13 12:04 jhz033 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Leading and Trailing You are given two integers: n and k, your task is to find the most significant three digits, and least significant three digits o 阅读全文
posted @ 2016-08-12 20:09 jhz033 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 青蛙的约会 Time Limit: 1000MS Memory Limit: 10000K Description 两 只青蛙在网上相识了,它们聊得很开心,于是觉得很有必要见一面。它们很高兴地发现它们住在同一条纬度线上,于是它们约定各自朝西跳,直到碰面为止。可是它 们出发之前忘记了一件很重要的事情, 阅读全文
posted @ 2016-08-12 18:59 jhz033 阅读(182) 评论(0) 推荐(0) 编辑
摘要: C Looooops Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 23616 Accepted: 6517 Description A Compiler Mystery: We are given a C-language s 阅读全文
posted @ 2016-08-12 18:28 jhz033 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Death to Binary? Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1707 Accepted: 529 Description The group of Absurd Calculation Maniacs has 阅读全文
posted @ 2016-08-12 17:20 jhz033 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1141 题意:判断区间[a,b]的f(i)是否为素数,f(i)=i*i+i+40; 思路:打个表 阅读全文
posted @ 2016-08-12 10:17 jhz033 阅读(154) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 55 下一页