herrDeng網內搜尋

自訂搜尋

Ads

2012年9月17日 星期一

GCD

GCD(123456789,345634567)=?

71 則留言:

B9813129 林峻葦 提到...

public class Gcd {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
system.out.println("gcd:"+gcd(x,y)); }
}

B10033016 提到...

public class b10033016 {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033003鍾明修 提到...

public class b10033003
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033020 提到...

public class OGC {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033005徐維焱 提到...

package P1;

public class hw1
{
static int gcd(int x,int y)
{
int r = x % y;
if(r==0) return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:" + gcd(x,y));
}
}

B10033026姜禮銘 提到...

public class OGC {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B9833163 提到...

public class OGC {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B9833108王冠傑 提到...

public class Gcd {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
⋯⋯system.out.println("gcd:"+gcd(x,y)); }
}

B10033022梁朝富 提到...

public class Gcd {
static int gcd(int x,int y)
{
int r=x%y;
if(r==0) return y;
else
return gcd (y,r);
}
public static void main(String[] args) {
int x=123456789,y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033025林煒翔 提到...

public class XD
{
static int gcd (int x,int y)
{
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));

}

}

B10033037徐瑜駿 提到...

public class b10033037 {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033052劉悅旻 提到...

class Ex3
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}

B10033040陳姵儒 提到...

public class OGC {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

b10033045 提到...

public class B10033045 {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033052劉悅旻 提到...

class Ex3
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}

B10033021 提到...

public class hello
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033014 提到...

public class hello
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033019 提到...

class B10033019 {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[]args)
{ int x = 123456789;
int y = 345634567;
int z = gcd(x,y);
System.out.println(z);
}
}

b10033045林中仲仁 提到...

public class B10033045 {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

b10033039 提到...

class B10033039{
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[]args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}

}

B10033013王彥哲 提到...

public class Hello {
static int gcd(int x ,int y)
{
int r = x%y;
if(r==0) return y;
else
return gcd(y,r);
}
public static void main(String[] args) {
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));}

}

匿名 提到...

package P1;
public class B9833151
{
static int gcd(int x,int y)
{
int z=x%y;
if(z==0)return y;
else
return gcd(y,z);
}
public static void main(String[] args)
{
int x=123456789,
y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

匿名 提到...

public class java {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
System.out.println("gcd:" + gcd(x,y));
}
}

b10033183 提到...

public class java {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
system.out.println("gcd:"+gcd(x,y)); }
}
}

b10033009沈哲彣 提到...

public class hello {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033183邵建平 提到...

public class java {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
system.out.println("gcd:"+gcd(x,y)); }
}
}

B10033057 李長勳 提到...

public class b10033057 {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args) {
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}

}

b10033044 陳威宏 提到...

public class b10033044 {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args){
int x=123456789 , y=345634567 ;
System.out.println("gcd:"+gcd(x,y));
}
}


b10033017鄭人豪 提到...

public class b10033017 {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B9833091 提到...

public class NYPD
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0) return y;
else
return gcd (y,r);
}
public static void main(String[] args)
{
int x=123456789,y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033004羅時侒 提到...

public class Hello
{
static int gcd (int x,int y)
{int r=x%y;
if(r==0)return y;
else
return gcd(y,r);}
public static void main (String[]args)
{
int x=123456789;
int y=34534567;
int z=gcd(x,y);
System.out.println(z);
}
}

B10033054 鄭仲軒 提到...

public class ASD {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return ASD(y,r);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
system.out.println("gcd:"+gcd(x,y)); }
}

B10033002卓孟杰 提到...

public class jas
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

b10033042 林藝兆 提到...

class test
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}


B10033048劉雅琪 提到...

public class G {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033031 游筑雅 提到...

class test3
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}


B10033018 張家忠 提到...

class LOL3
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}


B9833091陳孟偉 提到...

public class NYPD
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0) return y;
else
return gcd (y,r);
}
public static void main(String[] args)
{
int x=123456789,y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033010 賴韋任 提到...

class test3
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}


b10033006 莊松霖 提到...

class test
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}


B1033007 蕭雅文 提到...

class test
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}


B10033027黃盈嘉 提到...

class Ex3
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}

B10033034 陳冠錚 提到...

class test
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}


B9833035 提到...

public class b9833035
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B9833151鄭宜青 提到...

package P1;
public class B9833151
{
static int gcd(int x,int y)
{
int z=x%y;
if(z==0)return y;
else
return gcd(y,z);
}
public static void main(String[] args)
{
int x=123456789,
y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B9833084王綱 提到...

public class B9833084
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033056陳信吉 提到...

class Ex3
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}

B10033043 史家郡 提到...

public class ZXC {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return ZXC(y,r);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
system.out.println("gcd:"+gcd(x,y)); }
}

B10033050張恩慈 提到...

public class b10033003
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033035陳雅婷 提到...

public class b10033035
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033011邵怡青 提到...

public class shao
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033036邱筱婷 提到...

public class abc
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033010 賴韋任 提到...

public class OGC {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}


B10033006 莊松霖 提到...

public class OGC {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}


B10033051 羅宏彬 提到...

public class OGC {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}


B10033018 張家忠 提到...

public class Gcd {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
system.out.println("gcd:"+gcd(x,y)); }
}

B10033023 賴佳汝 提到...

public class Gcd {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
system.out.println("gcd:"+gcd(x,y)); }
}

B10033031 游筑雅 提到...

public class Gcd {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
system.out.println("gcd:"+gcd(x,y)); }
}

B10033053 吳貴仁 提到...

public class Gcd {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=123456789, y=345634567;
system.out.println("gcd:"+gcd(x,y)); }
}

b10033017鄭人豪 提到...

package P1;

public class hw1
{
static int gcd(int x,int y)
{
int r = x % y;
if(r==0) return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:" + gcd(x,y));
}
}

B10033007蕭雅文 提到...

public class b10033007
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}


B10033034 陳冠錚 提到...

public class b10033034
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}


B10033030姜欣宜 提到...

class b9833035
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033032夏瑋駿 提到...

public class b10033032
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033046 徐紹桓 提到...

public class gogogo
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

匿名 提到...

B9733002鍾志捷
public class OGC {
static int gcd(int x,int y){
int r=x%y;
if(r==0)return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:"+gcd(x,y));
}
}

B10033046徐紹桓 提到...

public class b10033046
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033041陳奕綺 提到...

public class b10033041
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}


B10033030姜欣宜 提到...

public class b10033030
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd="+gcd(x,y));
}
}

B10033049林昌輝 提到...

class Ex3
{
static int gcd(int x,int y)
{
int r=x%y;
if(r==0)
return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789;
int y=345634567;
int z=gcd(x,y);
System.out.println(z);
}
}

B10033047 黃鈺翔 提到...

package P1;

public class hw1
{
static int gcd(int x,int y)
{
int r = x % y;
if(r==0) return y;
else
return gcd(y,r);
}
public static void main(String[] args)
{
int x=123456789, y=345634567;
System.out.println("gcd:" + gcd(x,y));
}
}

Related Posts Plugin for WordPress, Blogger...

熱門文章