题意:给出一系列的坐标,要求出这些坐标中组成的三角形中最大的高是多少 下列两个假设必然有一个成立 1.点C是所有点中距离点A最远的 2.点C是所有点中距离点B最远的 #include<cstdio> #include<cmath> #include<cstring> #include<algorit
分类:
其他好文 时间:
2016-02-27 19:22:12
阅读次数:
144
题目链接:http://codeforces.com/contest/616/problem/C 题意就是 给你一个n行m列的图,让你求’*‘这个元素上下左右相连的连续的’.‘有多少(本身也算一个),每个’*‘的结果取模10。要是为’*‘输出结果,否则输出’.‘。 这个题目就是让你求连续的'.'联通
分类:
移动开发 时间:
2016-02-05 01:29:41
阅读次数:
260
先预处理出所有连通块,对于每一个*,看他四周的连通块即可#include#include#include#includeusing namespace std;const int maxn=1000+10;char s[maxn][maxn];int Map[maxn][maxn];int n,m;...
分类:
其他好文 时间:
2016-01-14 15:51:32
阅读次数:
292
C. The LabyrinthYou are given a rectangular field ofn?×?mcells. Each cell is either empty or impassable (contains an obstacle). Empty cells are marked...
分类:
其他好文 时间:
2016-01-13 12:24:10
阅读次数:
217
1145. Rope in the LabyrinthTime limit: 0.5 secondMemory limit: 64 MBA labyrinth with rectangular form and sizem×nis divided into square cells with sid...
分类:
其他好文 时间:
2015-12-26 11:41:56
阅读次数:
202
Leapin' LizardsProblem DescriptionYour platoon of wandering lizards has entered a strange room in the labyrinth you are exploring. As you are looking ...
/*********************Problem Description是一仅仅喜欢探险的熊。一次偶然落进了一个m*n矩阵的迷宫,该迷宫仅仅能从矩阵左上角第一个方格開始走,仅仅有走到右上角的第一个格子才算走出迷宫,每一次仅仅能走一格,且仅仅能向上向下向右走曾经没有走过的格子,每个格子中都有...
分类:
其他好文 时间:
2015-10-13 09:08:08
阅读次数:
160
E - Labyrinth Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice URAL 1033DescriptionAdministration of the lab...
分类:
其他好文 时间:
2015-09-24 21:08:32
阅读次数:
229
??LabyrinthTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1173Accepted Submission(s): 388Problem ...
分类:
其他好文 时间:
2015-09-21 17:44:37
阅读次数:
243
Nightmare时间限制:1000ms | 内存限制:65535KB难度:4描述Ignatius had a nightmare last night. He found himself in a labyrinth with a time bomb on him. The labyrinth h...
分类:
Web程序 时间:
2015-09-02 17:13:33
阅读次数:
147