PostAddsense


태그 : Geometry 요약보기전체보기목록닫기

1

PenLift

Codeimport java.util.ArrayList;public class PenLift{    int len, size;    boolean[] usedS, usedV;    int[] nv;    &nbs...

JarBox

Codepublic class JarBox{    public int numJars(int radius, int woodlength) {        int m = 1;       &n...

FaceFinder

Codeimport java.util.LinkedList;import java.awt.Point;public class FaceFinder{    int[][] m;    void floodfill(int x, int y)    {        int[] dx = ...

Bearball

Codeimport java.util.HashSet;import java.awt.Point;public class BearBall{    public int gcd(int a, int b) {        return b==0 ? a : gcd(b,a%b);    }  &n...

Isoceles

Codepublic class Isoceles {    int[] x;    int[] y;    int dst(int a, int b) {        return (x[a]-x[b])*(x[a]-x[b])+(y[a]-y[b])*(y[a]-y[b]);  ...
1