diff --git a/Hacker rank Problem Solving/Sales by Match b/Hacker rank Problem Solving/Sales by Match new file mode 100644 index 0000000..1f14d72 --- /dev/null +++ b/Hacker rank Problem Solving/Sales by Match @@ -0,0 +1,25 @@ +#include +int main() +{ + int a,sum=0; + scanf("%d",&a); + int b[a],c[121]={0}; + for(int i=0;i=2) + { + sum+=(c[i]/2); + + } + } + printf("%d",sum); +}