Home
Problem
Status
Contest
Workbook
User
Group
Forum
Register
Login
{"managingGroups":{},"author":"Isun","updateTime":1646794298000,"title":"Share source code in text form","dislikeCnt":26,"content":"You may notice that, prior to 2015-06-25 Virtual Judge displayed all shared code in text form. This feature was very popular at that time. Thanks to it, users can download others\u0027 code, compile them, run, and compare output of different versions of code. Besides, users can study and save code template of specific algorithm from other users. Some users even used Virtual Judge as a site like paste.ubuntu.com.\n\nAll things went good until one day I noticed that more and more users were plagiarizing through Virtual Judge when competing in other online judges. You know that since there are more and more competitive programming contests and problems, it’s very likely that new problems coincide with old problems in some way. Sometimes lazy problem setters even copy description and test data from older problems. Therefore, Virtual Judge became an excellent place to find code for cheat purpose.\n\nAfter deliberate consideration, I decided to stop displaying code in text form. Instead, they were displayed in pictures from then on, at the same time bringing away the goodness mentioned above. Although it didn’t solve the problem fundamentally, a few cheaters did gone, of course along with some honest users.\n\nHowever here comes the good news. You are allowed to share you code in text form again! Let me introduce how to do it: \n\nOpen one of your code in a dialog. You may find the link of the top-right corner is slightly different. It comes with a random string in the end. The good news is that, by accessing this URL, any one **even not logged in**, can browse this code in text form. You are allowed to share this link in Facebook, Weibo, and your own blog. \n\n![image.png](https://s2.loli.net/2022/03/09/BNPrgHlhFpLy54c.png \u003d100%x100%)\n\nThe motivation is that you can’t just come to Virtual Judge, searching for codes of a specific problem, copying the code, and then going away. By introducing this feature, goodness in old days come back to some extent.\n\nAny feedback is welcome, if you come up with other solutions.","threadId":11859,"likeCnt":211,"createTime":1482969417000,"isWorkbook":false,"viewCnt":62148,"openness":2,"fav":false,"id":18,"trustable":true}