Skip to content

itsjohnty/CSES-Problems

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

114 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSES-Problems

Here we will have collection of solution of cses.fi

Contributors

This is a list showing the GitHub usernames of all who have contributed to this open-source project! Make sure to add yourself and submit a pull request if you've contributed.Please follow the proper format as provided below.

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: Python Code
      # Print your Name
      # cses.fi/printName
      print('Ayush> Kejariwal')
      # author: KejariwalAyush
      # solution: https://cses.fi/problemset/result/1065540/
      # profile: https://cses.fi/user/32415
    • 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

 
 
 

Contributors

Languages

  • Java 54.2%
  • C++ 25.1%
  • Python 19.0%
  • JavaScript 1.7%