When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

simpcoder02's blog

By simpcoder02, history, 3 years ago, In English

the tags in the problemset of codeforces have tags on their problems but out of 10 ques ,let's say only 1 or 2 have actual use of that topic and the editorials do not provide the alternate solutions using those tags. most of the problems are just greedy or implementation based. Like i wanted to practice for dp tags so out of 30 ques i did ,i found only 3 ques of actual dp involved in it. i request codeforces to either put only those tags which are actially used or provide alternate solutions using those tags :(

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

| Write comment?
»
3 years ago, # |
Rev. 2   Vote: I like it +4 Vote: I do not like it

The tag given there doesn't mean that the problem can't have any other possible solution.

Example : https://codeforces.com/problemset/problem/1538/F

The tags given in this problem are Binary Search, DP, Math etc.
I solved it using a bit of Math and Recursion. It doesn't at all mean that Binary search and DP are irrelevant for the problem.

TL;DR Tags are added by problem setters (high rated people can add tags too if they have a different solution), so yeah straight up calling them irrelevant is kinda dumb uk :)

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

    that's my point ,like if i have to learn something each day ,we should be provided with alternate solutions ,so that we can learn something out of it

    • »
      »
      »
      3 years ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      $$$if$$$ $$$i$$$ $$$have$$$ $$$to$$$ $$$learn$$$ $$$something$$$ $$$each$$$ $$$day$$$ $$$,we$$$ $$$should$$$ $$$be$$$ $$$provided$$$ $$$with$$$ $$$alternate$$$ $$$solutions$$$

      Lol how will you learn, if you are provided with alternate solutions to your comfort? $$$:thinkies:$$$

      Nevertheless you can always click on the $$$number$$$ $$$of$$$ $$$solves$$$ and see each and every submission ever made to that problem.

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

        i ain't here to argue with someone, leave it , u are right

»
3 years ago, # |
  Vote: I like it +6 Vote: I do not like it

Tags are not only provided by the problem setter, users who are CM and above can also edit the tags. And there can be many ways to solve a problem, some of which the setter would not have even thought about, like many of ur DP ques can be solved using greedy etc. You cannot expect the editorial writer to explain all the ways to solve the problem, although u u can find most of them in the comment section below.