gravatar

1021 problems solved
Rank by points: #1
Total points: 824

View submissions

18 contests written
Rank by rating: #3
Rating: 2366
Volatility: 42
Min. rating: 1503
Max rating: 2443

From Pierre Elliott Trudeau H.S., Olympiads School, Canadian Computing Olympiad, University of Waterloo

About

Represented Dmojistan at IOI 2017.


a=[]
a.append(a)
print(a==[a])
print(a==a[0])

Math contest lottery winner (AMC 10B 2015).


Just wanted to say that there is a User-script thing when you edit your profile. Use it to prank someone.

$(function() {
    // You have to credit d if you're going to use this
    // Can't modify stuff now, right?
    var elements = document.getElementsByTagName("li");
    for (i=elements.length-1; i>=0; i--) {
        var e=elements[i];
        if (e.children.length===1) {
            var f=e.children[0];
            if (f.tagName.toUpperCase()==="A") {
                if (f.text==="Edit profile") {
                    e.parentNode.removeChild(e);
                }
                else if (f.text==="Log out") {
                    e.parentNode.removeChild(e);
                }
            }
        }
    }
    // Can't submit solutions now, right?
    var links = document.getElementsByTagName("a");
    for (i=links.length-1; i>=0; i--) {
        var l=links[i];
        if (l.text.toLowerCase()==="resubmit") {
            l.href="/";
            l.text="You cannot resubmit";
        }
        else if (l.text.toLowerCase()==="submit solution") {
            l.href="/";
            l.text="You cannot submit";
        }
    }
    // Part 2 of solution submission code
    inputs = document.getElementsByTagName("input");
    for (var index=inputs.length-1; index>=0; index--) {
        i=inputs[index];
        if (i.hasAttribute("Value")) {
            if (i.value.toLowerCase()==="submit!") {
                i.disabled=true;
                i.value="Submission unavailable";
            }
        }
    }
});

function banned(){
    setTimeout(function(){alert("YOU HAVE BEEN PERMANENTLY BANNED FROM DMOJ.")}, 2000);
}

banned();

Good submission to Boolean. My goal is to do the same on ECOO '13 R1 P3 - Hexudoku.

Good submission to DMPG '15 S3 - Zen Garden (I wrote a program to do this).

123*542=66666

O(n!) = O((n/e)^n) by Stirling's approximation.

Good font。

Good list of puzzles

Video game

For anyone who wants to find my osu profile, I use my sister's account.

Changed my password due to Joey, don't trust him with your stuff.

There was another person in my school with my same name and grade.


A plus B in C by d

Best comment (problem link)

Second best comment (problem link) (also I still remember that Thornhill banner)

Unusually good comment

Unusually bad comment

Death by bad code (problem)

Line 171 (problem)

DM::OJ doesn't support multithreading.

Long compilation error

Longer compilation error (problem)


dmoj has two chats: outdated and Slack (in the footer)

dmoj has a neglected page (now deleted).

dmoj has an editorial page that is very hard to find. This is strange because I don't think other

Loop.

time.is isup.me repl.it


HTML to markdown. (Note: poor quality converter)

Markdown to visual. (Note: this website's markdown can parse LaTeX)

\displaystyle \frac d{dx}f(x)^{g(x)}

$\frac d{dx}f(x)^{g(x)}$

\frac d{dx}f(x)^{g(x)}

global_smurf's password is brucedontputmeintothepassword (why, kobortor?) (someone changed it for some reason) :(


Solve this problem to prove that you are okay at math:

Get all solutions satisfying these constraints.

a,b,c,d\in\mathbb{C}

d\notin\mathbb{R}

\begin{cases}b\times c\times d=b+c+d\\c\times d\times a=c+d+a\\d\times a\times b=d+a+b \\a\times b\times c=a+b+c\end{cases}


Points become exponentially annoying after 3000p or 200pp.

Longest title.

987 testcases.

(still need to do mockccc15s4 and dmpg15g6 properly and prove my method for coci14c4p5)

Underrated Problems

(to 12p, but test cases are short so whatever) CCC '05 - Bananas

(to 7p) CCC '15 - Wait Time

(to 10p) COCI '14 Contest 7 #2 Kriza

(to 5p) CCC '02 - AmeriCanadian

(to 12p) ECOO '13 R1 P4 - Coupon Day

(to 12p) UTS Open '15 #2 - Secret Code

(to 12p) Rotations in 3 Dimensions

(to 30p) Free Desserts

(to 15p) IOI '10 P2 - Hotter Colder

(to 25p) IOI '17 P2 - Wiring

(to 40p) IOI '17 P3 - Toy Train

Overrated Problems

(to 10p) CCC '13 - Chances of Winning

(to 7p) CCC '07 - Friends

(to 3p) Hailstone Numbers

(to 10p) System(0);

(to 25p) Matrix Determinant

(to 5p) Encode

(to 12p) Tree Cutting

(to 7p) P4 - HEIGHT

(to 35p) Terminus Est

Unreasonably Annoying Problems

More German Nouns

CCC '06 - Tin Can Telephone

DMPG '15 S2 - MMORPG

Sword Art Online Judge 2

Rotations in 3 Dimensions

ECOO '16 R2 P4 - Hop, Skip and Jump

Weird Problems

Polynomial Time Subset Sum

Shortest Code Contest

COCI '14 Contest 6 #6 WTF

Mackenzie New Year's Challenge P4 - Abdoof (possible in Turing)

Sketchy Problems

Zhany Zhanbies

Mars Explorer

IOI '17 P5 - Simurgh

Bubble Cup V8 E Spectator Riots

DMOPC '16 Contest 3 P4 - Serpent's Search

Bubble Cup V9 C Paint it really, really black


My university email is [email protected] where x="j35yuen" and y="edu.uwaterloo.ca". Who knows, maybe you want to send Foxen to me if you read this far.

Top ratings ever:

  1. bqi343 (2487)
  2. d (2443)
  3. y0105w49 (2415)
  4. SourSpinach (2305)
  5. nullptr (2277)

Programming path:

  1. Codecademy (was an unpleasant experience)
  2. Project Euler (stuck at 144)
  3. WCIPEG
  4. DMOJ + Olympiads

Bruce



     /\        | |
    /  \  _   _| |__  _ __ ___ _   _
   / /\ \| | | | '_ \| '__/ _ \ | | |
  / ____ \ |_| | |_) | | |  __/ |_| |
 /_/    \_\__,_|_.__/|_|  \___|\__, |
           _     _              __/ |
     /\   | |   | |            |___/
    /  \  | |___| |_ ___  _ __
   / /\ \ | / __| __/ _ \| '_ \
  / ____ \| \__ \ || (_) | | | |
 /_/    \_\_|___/\__\___/|_| |_|


                                              10000 points
                            _., ,.  ___.._ ,  /'|....._ |
                           | ,-' |'' /    | \ `-|-/.  _'-.    _,....
                     ,/''''''''.'/...\../= ,_|_.-.,.,-   ,,,-'     '
                   ,'     _\.|/+ |___,    ---+-=-.--'.  '''
                 ,.     -'_   ''''''  =''.+-'|'`.|'\||,,'/
               ,' __...|...'`-.. .--''   . \ \. |+.|',==._,.._
              .'    _  `.......|         \ .`'',+''++''-+     `\
              |   .'   ||.|....|   .   |  \|_,''   ||   |       '
                  |    ||.|.|..|   |   |   |_,'|  ,'|___'
            .-----,--  ||.|.|..|   |   |' -'   | ' || --.
      '''''`\ _.-' '-. ||..,_-...._|   |   |   |   |+'   '\
          _.,\.  ., | \|||/'|..,   +   |   |   |   ||      \
         ' .' ` '  ,   |||../,''-. |\  |   |   |   ||       '
  Fatal |  '.  /  |    ||'./,|.|-| |\  |   |   |   ||
  Eagle |   `._|_ |    ||.||+\.|.'.+'  |   |   |   ||
        '. ' _,'_  -.  ||.`\|..'' _|   |   |   |   ||
         -/ '    '  /  ||.|.'`-.,- |   |   |   |   ||  ,/
          |/__ |    |  ||.|.|'-|   |   |   |   |   ||-.'
       _.-'' . |    |  ||.|.|..|   |   |   |   |  _|| ,...
    _,'    \`+  \    - |..|.|..|   |   |__..,--+''_||_`.
              -. '.__./|..|.''-|.,-+'''|__..,--''' ||  |
                ''/'   ||.|.''-+.,-+'''|   |   |   ||  |
                 /     ||.|.|..|   |   |   |   |   ||                 July 4, 2015
                |      ||.|.|..|   |   |   |   |   ||                 WA algorithm
                       ||.|.|..|   |   |   |   |   ||
                       ||.|.|..|   |   |   |   |   ||                 I guess this
                       ||.|.|..|   |   |   |   |   ||                 date is okay
                            Subset Sum Algorithm

Credit credit.

Okay, page 14, lines 157-159 caught me a little off guard.

(Problem and the Github repository have been taken down)

Note: the first AC became WA because FatalEagle rejudged and made it easy for everyone else

Rating History

, #