ๆงๅนดไธญใฏๅคงๅคใไธ่ฉฑใซใชใใพใใใ ไปๅนดใใใใใใ้กใใใใใพใใ
ใจใใใใจใงใๆฉ้ใงใใๅนด่ณ็ถใฎARใใผใซใผใฎ่ชฌๆใจใใใใฆใใใใใใชใจใ
ๅนด่ณ็ถใฎARใใผใซใผใซใคใใฆ
package test; | |
import java.util.Random; | |
public class RandomCreate { | |
private int[] bitArray; | |
/** | |
* overLoad |
def prime(n) | |
k=2 | |
c=0 | |
if n==1 | |
print("false","\n") | |
else | |
while k<n-1 | |
b=n%k | |
if b==0 |
#! /usr/bin/ruby | |
def collatz(n) | |
print n.to_s+"\n" | |
if n%2 == 0 | |
collatz(n/2) | |
elsif n != 1 | |
collatz(n*3+1) | |
end | |
end |
import java.util.Iterator; | |
public interface Aggregate { | |
public abstract Iterator<Book> iterator(); | |
} |
/* | |
โๅ่ | |
http://saeki-ce.xsrv.jp/C_src/mandelbrot01.html | |
โใใจใง่ชญใ | |
http://azisava.sakura.ne.jp/mandelbrot/algorithm.html | |
*/ | |
int windowX = 800, windowY = 800; | |
double cr1 = -2.3, cr2 = 0.7; | |
double ci1 = -1.5, ci2 = 1.5; |
import ketai.sensors.*; | |
KetaiSensor sensor; | |
PImage texmap; | |
int sDetail = 35; // Sphere detail setting | |
float rotationX, rotationY; | |
float velocityX, velocityY; | |
float globeRadius = 100; |
for(int i = 0; i<list.size(); i++){ | |
} | |
for(int i = 0, n = list.size(); i<n; i++){ | |
} |
def greatest_common_divisor(n, m) | |
return n if m.zero? | |
greatest_common_divisor(m, n%m) | |
end |
def dw(y,m,d) | |
j = y/100 | |
k = y%100 | |
h = (d + (((m+1)*26)/10).to_i + k + (k/4).to_i + (j/4).to_i - (2*19))%7 | |
end |