
紫书
文章平均质量分 80
elorole
细磨专研
展开
-
习题3-1 Score UVa 1585
题目链接:https://vjudge.net/problem/48771/origin 第一次拿到这道题时没怎么思考上手就写,最后写出来的(一代)代码自我感觉还行(逃 上一代代码#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>usin...原创 2018-03-26 21:23:46 · 152 阅读 · 0 评论 -
习题3-3 Digit Counting UVa 1225
题目链接:https://vjudge.net/problem/27516/origin 水题一道,上代码;#include <iostream>#include <cstdio>#include <cmath>#include <algorithm>#include <cstring>using namespace s...原创 2018-03-27 10:41:16 · 163 阅读 · 0 评论 -
习题3-2 Molar Mass UVa1586
题目链接:https://vjudge.net/problem/51477/origin 只有四种原子,统计每个原子的个数,再分别乘上对应分子量就行; 上代码#include <iostream>#include <cstdio>#include <cstring>#include <algorithm>using namespace...原创 2018-03-27 10:45:27 · 123 阅读 · 0 评论 -
习题3-4 Periodic Strings UVa455
题目链接:https://vjudge.net/problem/19496/origin 暴力枚举可能的周期(必须被长度整除) 上代码#include <iostream>#include <cstdio>#include <cstring>#include <cmath>#include <algorithm>usin...原创 2018-03-27 11:18:24 · 164 阅读 · 0 评论 -
例题6-8 Tree UVa548
题目描述: You are to determine the value of the leaf node in a given binary tree that is the terminal node of a path of least value from the root of the binary tree to any leaf. The value of a path is t...原创 2018-04-02 19:43:16 · 169 阅读 · 0 评论 -
例题6-12-Oil Deposits-UVa 572
题目描述:: **The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid that...原创 2018-04-02 20:43:52 · 203 阅读 · 0 评论 -
习题3-5 Puzzle UVa227
题目描述: A children’s puzzle that was popular 30 years ago consisted of a 5×5 frame which contained 24 small squares of equal size. A unique letter of the alphabet was printed on each small square. Sin...原创 2018-03-28 17:13:19 · 437 阅读 · 0 评论