样式表: <style> .triangle_border_up{ width:0; height:0; border-width:0 60px 60px; border-style:solid; border-color:transparent transparent red;/*透明 透明 灰* ...
分类:
Web程序 时间:
2019-05-30 14:44:20
阅读次数:
122
package yichang; public class Yichang { public static void main(String[] args) {point p1=new point(1,3);point p2=new point(1,2);point p3=new point(1,1 ...
分类:
其他好文 时间:
2019-05-27 13:36:44
阅读次数:
116
一、 实验代码如下: public class 图形 { public static void main(String[] args) { point p1=new point(0,0); point p2=new point(1,0); point p3=new point(0,1); recta ...
分类:
其他好文 时间:
2019-05-26 21:15:20
阅读次数:
146
120. Triangle 0. 参考文献 | 序号 | 文献 | | | | | 1 | "Leetcode 120 Triangle" | | 2 | "[eetCode 120 Triangle" ] | 1.题目 Given a triangle, find the minimum path ...
分类:
其他好文 时间:
2019-05-26 19:39:46
阅读次数:
122
如果商品地址为:http://product.suning.com/0070230548/10608983060.html 则价格地址: http://pas.suning.com/nspcsale_0_000000010608983060_000000010608983060_0070230548 ...
分类:
其他好文 时间:
2019-05-24 11:13:25
阅读次数:
256
(1)测试Point类中参数异常 point1中参数是负数,故参数报错 (2)测试Rectangle类中参数异常 矩形的高为负数,故参数报错 (3)测试Triangle类中参数异常 由于三个点斜率都一样,故在一条直线上,参数报错 (4)测试Polygon类中参数异常 由于只传入了两个点的参数,无法构 ...
分类:
其他好文 时间:
2019-05-21 20:57:03
阅读次数:
164
There are different triangles that can be printed. Triangles can be generated by alphabets or numbers. In this C++ program, we are going to print alph ...
分类:
编程语言 时间:
2019-05-18 11:15:14
阅读次数:
132
382. Triangle Count https://www.lintcode.com/problem/triangle-count/description 148. Sort Colors https://www.lintcode.com/problem/sort-colors/descript ...
分类:
其他好文 时间:
2019-05-13 12:37:59
阅读次数:
152
packagetriangletest;importjava.util.*;publicclassTriangleTest{publicstaticvoidmain(Stringargs[]){Scannerss=newScanner(System.in);System.out.println("pleaseinputtheresidesandcoloroftriangle");doublea=s
分类:
编程语言 时间:
2019-05-12 22:27:14
阅读次数:
207
importjava.util.Scanner;publicclassTest{publicstaticvoidmain(String[]args){System.out.println("请输入三角形的三条边,颜色,是否填充(trueorfalse)");Scannerinput=newScanner(System.in);doubleside1=input.nextDouble();doubl
分类:
编程语言 时间:
2019-05-12 13:41:44
阅读次数:
367