Skip to content

Here we will have collection of solution of cses.fi

Notifications You must be signed in to change notification settings

Pranjal81/CSES-Problems

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSES-Problems

Here we will have collection of solution of cses.fi

Instrutions to Contribute:

  • First,go to cses

  • Create a new account first & log in

  • Then, go to CSES Problem Set

  • Choose any 5 questions of your choice and solve them

(Unique questions/language would be appreciated)

  • To solve any particular question, click on it and then solve it first on your local IDE.

  • Then upload that file (like missing_number.c or missing_number.java,etc.) from your local system in the submit section of that particular question.

  • Once it successfully passes all the test cases

    • fork [this] repo
    • Add question as comments at top & its link
    • Now add "author: cses id" as comment at the end of your program (e.g. - author: pritam047)
    • Example: Pyhton Code
      # Print your Name
      # cses.fi/printName
      print('Ayush> Kejariwal')
      # author: KejariwalAyush
    • Rename that particular file here in the following format:
    • githubusername_problemname.fileformat (e.g. - pritam047_missing_number.c)
    • Make a folder of your Github Username & put above file in it (if already exists then add in it)
    • Add that folder into your stack(language e.g. java, python, etc) folder

      example: master/java/KejariwalAyush/KejariwalAyush_missing_number.java

    • Now commit and push to your repo
    • And make a pull request to original repo
  • Once we validate it, we shall accept your pull request.

Note : Don't simply copy paste from others. Try to solve the problems on your own.

Example of passing test in cses

When you submit the answer to the question in cses

You should pass all tests, then only submit it here.

Example

About

Here we will have collection of solution of cses.fi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%