Kerolloz's blog

By Kerolloz, history, 6 years ago, In English

Hello guys,

I wanted to share this API with you. You can use it to develop applications around codeforces problems. This is how it works. You give it the problem ID. It returns back the problem description in JSON format. The description includes {title, time_limit, memory_limit, statement, input_specification, output_specification, sample_tests, note}.

Your contributions, suggestions and edits are welcome.

You can find the GitHub repo here. https://github.com/kerolloz/codeforces-problem-scrapper-api

  • Vote: I like it
  • +5
  • Vote: I do not like it

»
18 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

its not working bro can u give it a look plss , i need it urgently

  • »
    »
    18 months ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    wont work now

    • »
      »
      »
      18 months ago, hide # ^ |
       
      Vote: I like it 0 Vote: I do not like it

      is there any alternate way u know of

      • »
        »
        »
        »
        18 months ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        I did a similar project. U can just call the api and fetch the problem list. or if u need certain datasets check kaggle

        • »
          »
          »
          »
          »
          18 months ago, hide # ^ |
           
          Vote: I like it +3 Vote: I do not like it

          i need actual problem description ill see some another way thanks broo

          • »
            »
            »
            »
            »
            »
            4 months ago, hide # ^ |
             
            Vote: I like it 0 Vote: I do not like it

            Did u find any alternative

            • »
              »
              »
              »
              »
              »
              »
              7 weeks ago, hide # ^ |
               
              Vote: I like it 0 Vote: I do not like it

              yeah i was able to scrap the problem statement and all its test cases

              • »
                »
                »
                »
                »
                »
                »
                »
                6 hours ago, hide # ^ |
                 
                Vote: I like it 0 Vote: I do not like it

                Can you tell me how and wt did you do??(In dire need of help)

                • »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  »
                  4 hours ago, hide # ^ |
                   
                  Vote: I like it 0 Vote: I do not like it

                  i used puppeteer to scrap it if u need the script i can share but it was made like 1.5 years ago not sure will it work again or now but u can try i think it should work

                  code for the script below

                  https://github.com/TusharSachdeva29/codeforces-scrapper/commit/80193f15a25a39efdd7c07a3505f6a88e6c834b8#diff-13876b4beb64b9f156474dc78f9c923952a7ca210d4507b6b3135bbe244f8a60R1-R104