topcoder-greed icon indicating copy to clipboard operation
topcoder-greed copied to clipboard

Question: Is it possible to detect "practice room"?

Open Kimi-Arthur opened this issue 10 years ago • 5 comments

Hi, one thing I was thinking these days is to put code + problem in different folders for different types of problem. Namely, put practice room problems in one place and the real contest problems in another. Will that be possible?

Kimi-Arthur avatar Jun 30 '14 04:06 Kimi-Arthur

It already does so. Practice room are abbreviated as SRM X, while real contest are named as Single Round Match X.

screenshot 2014-07-03 00 57 00

ashashwat avatar Jul 02 '14 19:07 ashashwat

It is completely unintentional though, it is because of how practice rooms are named vs. real contest rooms.

On Wed, Jul 2, 2014 at 3:29 PM, Shashwat Anand [email protected] wrote:

It already does so. Practice room are abbreviated as SRM X, while real contest are named as Single Round Match X.

[image: screenshot 2014-07-03 00 57 00] https://cloud.githubusercontent.com/assets/121233/3461138/0ebc02a4-021f-11e4-9e0c-c2af52fa4b8a.png

— Reply to this email directly or view it on GitHub https://github.com/shivawu/topcoder-greed/issues/153#issuecomment-47824236 .

vexorian avatar Jul 02 '14 19:07 vexorian

Yes, I know the difference, but since I’d like to put them in different folders like “Practice Room/SRM xxx” vs “Contests/Single Round Match XXX”, I don’t whether this is possible.

Do the plugin has any other information? Like contest id or contest type?

From: vexorian [mailto:[email protected]] Sent: Thursday, July 3, 2014 03:30 To: shivawu/topcoder-greed Cc: Kimi-Arthur Subject: Re: [topcoder-greed] Question: Is it possible to detect "practice room"? (#153)

It is completely unintentional though, it is because of how practice rooms are named vs. real contest rooms.

On Wed, Jul 2, 2014 at 3:29 PM, Shashwat Anand <[email protected] mailto:[email protected] > wrote:

It already does so. Practice room are abbreviated as SRM X, while real contest are named as Single Round Match X.

[image: screenshot 2014-07-03 00 57 00] https://cloud.githubusercontent.com/assets/121233/3461138/0ebc02a4-021f-11e4-9e0c-c2af52fa4b8a.png

— Reply to this email directly or view it on GitHub https://github.com/shivawu/topcoder-greed/issues/153#issuecomment-47824236 .

— Reply to this email directly or view it on GitHub https://github.com/shivawu/topcoder-greed/issues/153#issuecomment-47824348 . https://github.com/notifications/beacon/2446305__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxOTk0ODYxNywiZGF0YSI6eyJpZCI6MzU4MjIwODl9fQ==--2486824ba81bcc0a5058a71ce9db888a952df8a2.gif

Kimi-Arthur avatar Jul 03 '14 02:07 Kimi-Arthur

I don't think arena API exposes any information regarding practice rooms. This should not stop you from writing a shell script which does the job.

ashashwat avatar Jul 03 '14 07:07 ashashwat

So can we get the id? Since I may need the id to decide its type. 2014-7-3 下午3:16于 "Shashwat Anand" [email protected]写道:

I don't think arena API exposes any information regarding practice rooms. This should not stop you from writing a shell script which does the job.

— Reply to this email directly or view it on GitHub https://github.com/shivawu/topcoder-greed/issues/153#issuecomment-47874327 .

Kimi-Arthur avatar Jul 03 '14 07:07 Kimi-Arthur