From 9ac6cb9d107da99aaa6710f3c1ccb267743b44ee Mon Sep 17 00:00:00 2001 From: varunk122 Date: Thu, 10 Oct 2019 01:00:25 +0530 Subject: [PATCH] new solution to choco sticks problem --- .../ solution_in_c.c | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Choco Sticks and there distribution/ solution_in_c.c diff --git a/Choco Sticks and there distribution/ solution_in_c.c b/Choco Sticks and there distribution/ solution_in_c.c new file mode 100644 index 0000000..9912545 --- /dev/null +++ b/Choco Sticks and there distribution/ solution_in_c.c @@ -0,0 +1,27 @@ +#include +#include +int main() { + int yatin,sahil,store; + int cases; + scanf("%d",&cases); + int i,j; + for(i=0;i