From 1507b99241cc6cf4f5de5da9fd1bd913b4fb2f65 Mon Sep 17 00:00:00 2001 From: Makrand R <35958423+makrandr1999@users.noreply.github.com> Date: Tue, 21 Aug 2018 18:07:32 +0530 Subject: [PATCH] Create SPLST_makrand.c --- SPLST_makrand.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 SPLST_makrand.c diff --git a/SPLST_makrand.c b/SPLST_makrand.c new file mode 100644 index 0000000..afa1084 --- /dev/null +++ b/SPLST_makrand.c @@ -0,0 +1,32 @@ +#include + +int main(void) { + // your code goes here + int T=0; + scanf("%d",&T); + while(T-- > 0){ + unsigned int a=0,b=0,c=0,x=0,y=0,l=0; + scanf("%u%u%u%u%u",&a,&b,&c,&x,&y); + if((a+b+c)==(x+y)){ + if(x