SarthakKeshari / CPP-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
45 stars 132 forks source link

Create D Productive Meeting #317

Closed ak-create closed 3 years ago

ak-create commented 3 years ago

Issue Id you have worked upon -

313

Briefly explain your program logic -

Inserting all elements in set in decreasing order Always picking two maximum elements and inserting them with their indices in a vector After that printing vector size and all vector elements

Screenshots(Attach 2 screenshots of your own input and output) -

Attach here image image


Checklist:

Eg - If your code follow the below guidelines. Kindly change [] to [x]

All the conditions should be fulfilled for considering your code for merging -

ak-create commented 3 years ago

@ak-create, Kindly comment your code well

done