import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; public class hdu1518DFS{ private static boolean [] vis; private static ...
分类:
其他好文 时间:
2020-07-26 19:26:13
阅读次数:
69
Square Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Given a set of sticks of various lengths, is it possible to join t ...
分类:
其他好文 时间:
2016-07-13 20:36:22
阅读次数:
154
Square Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12859 Accepted Submission(s): 4078 Proble ...
分类:
编程语言 时间:
2016-07-12 17:18:33
阅读次数:
220
Square Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12571 Accepted Submission(s): 4008 Proble ...
分类:
其他好文 时间:
2016-06-29 13:05:26
阅读次数:
146
Square Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 8900 Accepted Submission(s): 2893 Proble ...
分类:
其他好文 时间:
2016-04-13 13:04:12
阅读次数:
188
SquareTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11151Accepted Submission(s): 3588 Problem....
分类:
其他好文 时间:
2015-08-26 17:06:53
阅读次数:
171
点击打开杭电1518
Problem Description
Given a set of sticks of various lengths, is it possible to join them end-to-end to form a square?
Input
The first line of input contains N, the number of t...
分类:
其他好文 时间:
2015-08-03 22:52:21
阅读次数:
172
#include#include#include#include#define max(a, b)(a > b ? a : b)#define N 30int a[N], vis[N], n, k, f;void DFS(int s, int m, int d)//s为搜索起点 m为已组成的正方体的...
分类:
其他好文 时间:
2015-05-27 19:05:05
阅读次数:
130
Square
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 8900 Accepted Submission(s): 2893
Problem Description
Given a set of sti...
分类:
其他好文 时间:
2014-11-02 19:43:04
阅读次数:
178
题目链接:
http://acm.hdu.edu.cn/showproblem.php?pid=1518
题目为:
Square
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 7839 Accepted Submi...
分类:
其他好文 时间:
2014-06-16 22:34:36
阅读次数:
279