From 7f885cf820c4901af0162cea8b2584e48edfef11 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sat, 11 Jun 2016 19:39:08 +0800 Subject: [PATCH] Create 1759_XXXXcount.c --- QUSTOJ/1759_XXXXcount.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 QUSTOJ/1759_XXXXcount.c diff --git a/QUSTOJ/1759_XXXXcount.c b/QUSTOJ/1759_XXXXcount.c new file mode 100644 index 0000000..3649299 --- /dev/null +++ b/QUSTOJ/1759_XXXXcount.c @@ -0,0 +1,25 @@ +#include +#include + +int main() +{ + int a,b,sum; + scanf("%d %d",&a,&b); + sum=a+b; + switch(sum) + { + case 17: + printf("6/11=1/2+1/22\n"); + break; + case 101: + printf("11/90=1/9+1/90\n"); + break; + case 204: + printf("87/117=1/2+1/5+1/23+1/8970\n"); + break; + default: + printf("undefined.\n"); + break; + } + return 0; +}