Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem category filters are not handled as unions #372

Open
breezewish opened this issue Oct 6, 2017 · 4 comments
Open

Problem category filters are not handled as unions #372

breezewish opened this issue Oct 6, 2017 · 4 comments

Comments

@breezewish
Copy link
Member

breezewish commented Oct 6, 2017

When "动态规划" and "搜索" are both selected, there is nothing left in problem list.

@Ivecia
Copy link

Ivecia commented Oct 28, 2017

The categories are not right sometimes.

Admin should fix it, but there're too many subjects.

Why not add a funcation about voting the categories when users AC the problems and sort them automatically.

@twd2
Copy link
Member

twd2 commented Oct 28, 2017

@SkyLionel New PR, please.

@ksyx
Copy link
Contributor

ksyx commented Oct 28, 2017

@skylionel
That's so luogu. It seems so automatic, but it needs more management because some user will abuse that(such as select all), so I think it's not so good. But this isn't meanning we can't have this feature.
And I think these categories are set when a problem is created and I think these category may be the algorithm of standard program. We think that's incorrect maybe because we are just using another algorithm.
In the end, i have a idea, how about get them from the solution? In many cases, search some keywords from it and add them to user-contributed category.
In my mind, solutions in Vijos has a regular pattern.
Easy problems has more solutions with description and Hard problems has more solutions which only contain codes.
So, how about using these regular pattern to automaticlly generate categories?


Keyword Searching:
For each solution, search description keywords(such as 动态规划,搜索,最短路) and code keywords(such as DP,search/DFS/BFS,SPFA/Floyd/Kruskal)(Case insensitive)
Thanks for reading.

@breezewish
Copy link
Member Author

breezewish commented Oct 30, 2017

@SkyLionel That's a good idea and we will consider. However currently we are not going to implement it since our dev resource is very limited.

@ksyx Cool idea. I am just afraid that it will not work in many situations. We will take a look at this in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants