From f0dd4e756f4126f95b9a0914f14426f82ec08b9e Mon Sep 17 00:00:00 2001 From: guannan zhang Date: Thu, 22 Sep 2011 00:04:48 +0800 Subject: [PATCH 1/2] GCD --- C-Story.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/C-Story.cpp b/C-Story.cpp index 98b5bdb..68c217b 100644 --- a/C-Story.cpp +++ b/C-Story.cpp @@ -6,5 +6,22 @@ int main() printf("#1(jianru.lin): oh yeah~!\n"); // your turn // ... + printf("I don't know what to say!\n"); + printf("I think I need write something new!\n"); + int m,n,t=0; + printf("please enter two nem:"); + scanf("%d,%d",&m,&n); + if(m Date: Thu, 22 Sep 2011 00:12:09 +0800 Subject: [PATCH 2/2] GCD --- C-Story.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C-Story.cpp b/C-Story.cpp index 68c217b..10e4df8 100644 --- a/C-Story.cpp +++ b/C-Story.cpp @@ -8,7 +8,7 @@ int main() // ... printf("I don't know what to say!\n"); printf("I think I need write something new!\n"); - int m,n,t=0; + int r,m,n,t=0; printf("please enter two nem:"); scanf("%d,%d",&m,&n); if(m