33
7
I know there have been a lot of challenges about "the two best code-golfers in the world", but this one is a bit more unique, being Round 1 in a series of (future) challenges involving the two of them.
Your task is to write a program or function that returns two different non-whitespace ASCII strings, corresponding to the one who has more reputation at the moment the program is ran, between Dennis ♦ and Martin Ender ♦. The tricky part is that you must output the exact string "tie" in case the reputation is identical (not likely), and the two different non-whitespace ASCII strings mentioned above should be different than "tie" *.
No input can be taken, such as usernames or user ids. As usual, URL shorteners are forbidden, and so are the common loopholes.
Examples:
Let the chosen string for Dennis be "D" and the chosen one for Martin Ender be "M" (should be specified)
If Dennis' rep > Martin Ender's rep => D
If it's the other way around => M
If it's a tie => tie
IMPORTANT! Voting on posts by Dennis & Martin for the sole purpose of affecting a tie in order to test the solutions below constitutes targeted voting which is forbidden across the Stack Exchange network. If you want to test that a solution properly outputs
tie
then change the IDs in it to those of 2 users you know to be tied. See this Meta post for more details.
*I think no one would have used that, anyway
33"... the two best code-golfers in the world ..." [citation-needed] – Martin Ender – 2017-05-10T12:48:13.107
9Can we assume that they will always be #1 and #2 in this community? – ovs – 2017-05-10T14:24:55.303
Yes, you can, as long as they are the #1 and #2, then you update the answer :) – Mr. Xcoder – 2017-05-10T15:09:44.580
7A friendly reminder: targeted voting is forbidden on the entire Stack Exchange network. Voting on Martin's and my posts just to test submissions to this challenge is not allowed. – Dennis – 2017-05-11T17:12:53.180
@Dennis we all know that, but thanks for the reminder. It was just a joke, don't take it seriously – Mr. Xcoder – 2017-05-11T17:14:38.703
The thing is, if you look at Martin's and my own rep history over the last couple of days, it seems like a handful of users did need a reminder. – Dennis – 2017-05-11T17:20:24.790
@Mr.Xcoder, feel free to edit/move that notice I just edited in. – Shaggy – 2017-05-12T07:41:40.360
2@Shaggy It's great that you have added that note. Hopefully, the users involved will stop doing that – Mr. Xcoder – 2017-05-12T11:24:33.827
Sorry for my grammar, I meant to say Although one of the answers has been accepted, it would be nice to see some more interesting solutions – Mr. Xcoder – 2017-05-13T11:41:48.010
What do you exactly mean by "interesting"? :) – HyperNeutrino – 2017-05-14T22:14:33.493
Any new smart answer that uses a different approach than the current ones – Mr. Xcoder – 2017-05-15T04:25:12.373
So ... when's round 2?! – Shaggy – 2017-05-31T08:54:01.217
@Shaggy it's coming soon. I have some minor things to change till I post it. – Mr. Xcoder – 2017-05-31T10:57:06.117
1To @MartinEnder at the top, citations are unneeded for facts that are common knowledge. – Gryphon – 2017-08-02T00:10:13.517
still waiting for round 2 – Okx – 2017-10-22T16:04:01.247