farukkastamonuda's blog

By farukkastamonuda, history, 16 months ago, In English

Hello Dear Codeforces Community,

I (farukkastamonuda) developed the testcase generator website Testcase Generator for competitive programmers with my brother AhmetKaan.

Generating test cases is a significant part of creating problems in competitive programming. However, there is not any prepared website that is designed for this task and problem setters should use some programming languages to prepare test cases. Moreover, these written scripts are used to create test cases for a specific single problem.

After analyzing Codeforces input formats, we thought that many of these formats can be generalizable and producible.

Some of doable things on this website are:

  • Generating basic types: integer, floating number, string, char, and pair.
  • Generating 1-D, and 2-D arrays of basic types.
  • Creating a tree/graph with many features such as acyclic, connected, multiple edges, and self loops.
  • Defining variables such as (n, m, k) and using them later.
  • Constraining sum of variables among all testcases.
  • Formatting input files.

Lots of weeks were spent to finish the frontend and backend of this project and I'm proud of providing this service to the amazing community of Competitive Programmers.

Special thanks to nicecoder37, osmanbey372742, tolbi, and ayhan23 for testing the website and various generations, and providing improvement feedbacks. Your precious feedbacks are also welcome to achieve further improvements.

You can support me if you want or love the website ☕

Note: Currently, website is designed for computers not for mobile phones since testcase generations are done via computers generally.

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

| Write comment?
»
16 months ago, # |
  Vote: I like it +39 Vote: I do not like it

As a developer, Best website I have ever seen after (codeforces,atcoder,oj.uz, etc.).

»
16 months ago, # |
  Vote: I like it +15 Vote: I do not like it

Hello everybody!

This is a very cool idea, and thank you very much for implementing it. "A journey of a thousand miles begins with one step"!

Best, Jelal

»
16 months ago, # |
  Vote: I like it +18 Vote: I do not like it

As a tester, I love the idea and the ease of the input generating and downloading. Thanks for your idea and coding skills of website development. Good job to everybody in the crew.

»
16 months ago, # |
  Vote: I like it +12 Vote: I do not like it

Cool!

»
16 months ago, # |
  Vote: I like it +15 Vote: I do not like it

As a tester,this is one of the most useful website about cp I have ever seen in a long time xD

»
16 months ago, # |
  Vote: I like it +18 Vote: I do not like it

Dude, you're really cool, and I can only support you with words of good luck

»
16 months ago, # |
Rev. 2   Vote: I like it +6 Vote: I do not like it

I really liked your work and looking forward to seeing others in the future.

Thank you.

»
16 months ago, # |
  Vote: I like it +9 Vote: I do not like it

this is great !

»
16 months ago, # |
  Vote: I like it +9 Vote: I do not like it

Formatting is so important, this is why my name is Formatci

»
16 months ago, # |
  Vote: I like it +6 Vote: I do not like it

OMG! Great. Thanks for this:)

»
16 months ago, # |
  Vote: I like it +6 Vote: I do not like it

this is really awesome

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

Awesome!

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

First of all, great website! Am I doing something wrong, or is the Node Count dropdown not working?

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

    This is a tutorial how to add node count to your graph. It will help you. To use graph node count dropdown you need to define symbolic variable like a,b,c,n,m and then you need to write it to the file and you will be able to select a node count for your graph.

    This is tutorial with images.

    Link: https://ibb.co/S0vM9dM

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

      Hi, the link https://ibb.co/S0vM9dM is not working can u pls share a new one i am also having the same node count issue, Thank you for such a great website.

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

        Currently I am working on a GitHub page for imaged tutorials. When I finish I will put the link in this message.

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

        Hello dear aditya_01, we opened public GitHub repository and we will add image tutorials for many creations. For your request, link: NodeCount selection in graph creation.

        By the way, please write to the blog if you could not create anything. We will add tutorial to this public repo.

        Also, thanks for your like comment regarding to our website.

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

Awesome idea, It will be used in olympiad camps.

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

Awesome idea and helpful website

»
16 months ago, # |
Rev. 2   Vote: I like it +3 Vote: I do not like it

Nice website! Here are some personal suggestions.

  • Keep the form title and input items in the same row, which makes the page more tidy.
  • Replace "Variable Definition Information" subform with popup.
  • Create a tutorial page or add link to https://ibb.co/S0vM9dM.
  • Finally, if the website is opensource, glad to contribute.
  • »
    »
    16 months ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    Thanks for your ideas. First there is a tutorial in the website if you click the blue i buttons in the left of every main title you will see a tutorial. And the website currently isn't open source. And I don't understand the first 2 sentences. Can you explain the first 2 sentences in more detail.

    Thanks for your contribution and your beautiful feedback.

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

      Sure, the first 2 sentences are related to UI design. I prefer the following layout , and when click the "add" button, a popup is shown, as well as the blue i buttons.

      Hope my poor English works this time. :)


      i [test case]                   [input] [input]
      i [Define Integer Variables]    [+add]
                                      [...] [...] [...]
                                      [...] [...] [...]
      i [Testcase Format]             [xxxxxxx] [xxxxxxxxxx]
      
      • »
        »
        »
        »
        16 months ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Ok, I understood now. It seems logically thanks for your nice feedback.

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

    What should be the tutorial according to you? Single page or any other method? Does you think current i buttons for gathering info is not enough? Thanks!

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

      After playing for a while, I still don't know how to generate testcases for 1847A - The Man who became a God . Did "Testcase Format" only support one kind of things?


      t
      n k
      a1 a2 ... an
      n k
      a1 a2 ... an
      
      • »
        »
        »
        »
        16 months ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        This testcase can easily be generated. Firstly, you should define variable n and k. After that, you should generate 1-d array with n element by typing n to the length field. Then it will generate this format. Why you should not generate it? If you still have problems after this explanation, please write it again and I will proud of helping you.

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

          Also, it will be another good blog post if someone analyze the percentage of questions in codeforces that can be generetable via our website.

»
16 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Thanks

»
16 months ago, # |
  Vote: I like it +6 Vote: I do not like it

We all needed a website like that. Thanks farukkastamonuda and AhmetKaan!

»
16 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Thanks

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

    Your comment motivated us Koful123, even though this invention did not attracted the interest of many competitive programmers yet.