• TSSOJ
  • Home
  • Problems
  • Submissions
  • Users
  • Contests
  • About
    • Status
    • FAQ
    • Status Codes
  • Club
    • discord
    • About TCC
    • Type Racer
    • Speed Input
Log in  or  Sign up

  • Blog
  • Events

News

September Contest Now Open

KurbyDoo posted on Sept. 15, 2023, 12:00 a.m. 0

The September contest is now open for submissions!

Users have a full 15 days to submit solutions to 10 problems and may leave and join the contest at anytime (progress will be saved).

Click here for more information!

Segment Tree Resources

Encodeous posted on Feb. 24, 2023, 3:33 p.m. 0

Here is the link to our slides on Segment Trees! :)

https://docs.google.com/presentation/d/1K5o84qFOxJv-fmMeZpvCfIuCfcX6txP9FG5d34SKQE0/edit?usp=sharing

This is the simple implementation of a range min query segtree in Java: https://hastebin.com/share/yisetaqeno.java

(Don't copy, ur gonna get banned lmao)

Try out the practice problem: https://dmoj.ca/problem/segtree

TWELVE DAYS OF HACKMAS

Henry_Zhang, Encodeous posted on Dec. 12, 2020, 8:21 p.m. 0

🎇⛄🎄 HOLIDAY HACKATHON!! 🦌🎅❄

enter image description here

Twelve Days of Codemas will be filled with fun and presents to collect, starting Sunday December 13th. Join the event! https://tssoj.ca/contest/hack1

There are twelve presents to seek! Each day a new Present will be released on the page. In each present, be a cryptic hints in each present leading to where the secret keys may be hidden.

Use your computer and forensics skills to uncover the hidden keys and open presents! Programming is not required, you only need your logic skills.

Participate in the fun event and compete to be the top of the leaderboard! Hurry up, the event ends on Christmas.

Prizes will be given to the top 5 places. Join the Computer Club Discord server for info and updates.

Happy Holidays!

-- TSS Computer Club Executives

TSSPC HACK O'LANTERN CONTEST

Eric_Zhang, Encodeous posted on Oct. 21, 2020, 12:00 a.m. 0

Hello TSSOJ!

For Halloween this year, we've opened a contest with 5 spoopy halloween-themed questions for you to solve! Test your knowledge and compete with classmates to see who will come out on top for this month's TSSPC, HACK O'LANTERN. Hurry up, as the contest will close on October 31. The link to the contest can be found here.

logo

Happy Halloween!

-- TSS Computer Club Executives

Hacktoberfest 2020

Eric_Zhang, Encodeous posted on Oct. 6, 2020, 9:25 a.m. 0

It is the time of the year for Hacktoberfest! You can win a cool t-shirt, or plant a tree by contributing code to open source repositories on GitHub!

Continuing from last year, we will be hosting a repository of public TSSOJ solutions! You can visit the repository here!

Please sign up for a GitHub account if you don't already have one, and register it on the Hacktoberfest Website, remember to watch the introduction video! You will be eligible for a free t-shirt after you sign up, and submit four approved pull requests to our repo!

Although this means that there will be public TSSOJ solutions, they are for reference only— any plagiarism will result in severe punishments.

As a final note, all pull requests and comments will be closely reviewed, and any inappropriate content is strictly prohibited.

Update: We have created a guide on contributing to the Hacktoberfest repository, please visit this page for more information!

Happy Hacktoberfest!

— TSS Computer Club Executives

Logo

Pair Class

jsumabat posted on Nov. 21, 2019, 4:07 p.m. 3
public class Main {
    static class Pair implements Comparable<Pair>{
        // fields
        int x;
        int y;
        // constructor
        Pair (int a, int b){
            x = a;
            y = b;
        }

        // Arrays.sort() calls compareTo, we are telling Java how to sort Pair
        public int compareTo(Pair o) {
            return x-o.x;
        }
    }

    public static void main(String[] args) {
        Pair p1 = new Pair(5, 4);
        Pair arr[] = new Pair[5];
        // assume i input it already
        Arrays.sort(arr);
    }
}

Mock CCC '19 Contest 1

jsumabat posted on Oct. 17, 2019, 10:35 a.m. 5

Hello, TSSOJ!

On November 9, 2019 at 9:00 EST, we will be hosting the first Mock CCC contests, a junior division and a senior division.

The contests are modelled around CCC difficulty. You will be given 5 problems, and 3 hours to solve them all. Furthermore, the contests will be romance themed.

For more information, you can read the contest pages, the junior division and senior division.

Hacktoberfest 2019 - TSSOJ Solutions!

jsumabat, David, boldmany, RayZhang, Anatoly posted on Oct. 10, 2019, 9:36 p.m. 0

Whether you're a beginner at programming or not, Hacktoberfest is the perfect opportunity for students to learn how to use GitHub and contribute to open source repositories!

This year (although it's a bit late), Thornhill's Computer Club has decided to create a repository that will store public TSSOJ solutions! You can find the repository here.

Before you create any pull requests, make sure you register an account on GitHub, as well as on the official Hacktober site. If you do not do this, you will not be eligible for the prize; a free t-shirt after four approved pull requests are completed!

Although this means that solutions to TSSOJ are becoming public, this does not mean that you will be able to copy and paste, as that will result in severe punishments.

Only Thornhill Secondary students may contribute to the GitHub. Thank you!

Welcome to TSS::OJ!

jsumabat posted on Oct. 31, 2018, 7:57 p.m. 0

Welcome to the Thornhill Secondary School Online Judge!

First of all, I would like to thank Ninjaclasher for helping set this website up.

The administrators of this website will be jsumabat and Ninjaclasher in order to keep it maintained (it may not be up-to-date with the DMOJ judge, but we hope to keep it functional).

Lastly, I would like to thank DMOJ for providing their open-source code, which allowed us to progress this far.

If you are unfamiliar with the judge, we highly recommend you to submit to this simple problem.

If you require a name change, please email [email protected]. Thanks!

Comment stream

  • AntonCHL → Jonathan Sumabat
  • atojason061127 → A Minus B
  • 349549451 → Twelve Days of Hackmas
  • alan11 → Thornhill Computer Club '22 Contest 1
  • Ethan_gan → Thornhill Computer Club '22 Contest 1
  • EthanPacker → Thornhill Computer Club '22 Contest 1
  • AmirparsaFaraji → Hello, World!
  • Hexona → Hello, World!
  • Kristopher → Hello, World!
  • sankeeth_ganeswaran → Sergey vs Teachassist
RSS / Atom

New problems

  • TCCC '25 April P2 - Modular Clock
  • TCCC '25 April P1 - How Many Passwords?
  • TCCC '25 April P3 - Power Differences
  • Best Fishing Spot
  • TCCC '24 June P5 - Transfer Window
  • TCCC '24 June P4 - Jungle Escape
  • TCCC '24 Apr P2 - Usernamxxxe
RSS / Atom

proudly powered by DMOJ |