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

  • Blog
  • Events

News

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

Thornhill Computer Club 2021-2022

Encodeous posted on Oct. 4, 2021, 9:19 p.m. 0

Hey everyone!

As computer club is starting back up this semester, we are having meetings on every Thursday. The first meeting will be on October 7th at 3:30 pm.

Since COVID is still a thing, we are doing meetings online, through Discord.

To join the discord server, go to the Navigation bar, and under Club, click DISCORD

Note: Only TSS students will be able to chat and join meetings!

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

sankeeth_ganeswaran, 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);
    }
}

Domain Update

jsumabat posted on Oct. 28, 2019, 9:26 p.m. 0

As the link tssoj.me expires at the end of October, we have decided to update the domain of our site to tssoj.ca.

For the next few days, tssoj.me will redirect to tssoj.ca, and we hope that during this time you will change your preferred link to tssoj.ca.

Furthermore, we now have SSL certification!

Sorry for the inconvenience.

Theme Change

jsumabat posted on Oct. 22, 2019, 9:38 p.m. 0

If you haven't noticed, we've undergone a theme adjustment, changing from the default DMOJ hex colour #3b3b3b to #152347. Furthermore, we have updated the previous logo to match our new theme.

Big thanks to Kevin and Li_Zhang for making the new logo and providing recommendations on the theme colour.

The logo can be viewed here.

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!

  • «
  • 1
  • 2
  • »

Comment stream

  • 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
  • Python3 → Sergey vs Teachassist
  • Serog1sPerog1s → Sergey vs Teachassist
RSS / Atom

New problems

  • CCC '07 J3 - Deal or No Deal Calculator
  • School Trip
  • Count Code
  • TSS '22 CC P4 - Ancient Castle Ruins
  • TSS '22 CC P3 - Treasure Hunt in the Jungle
  • TSS '22 CC P2 - River Crossing
  • TSS '22 CC P1 - Mud Puddles
RSS / Atom

proudly powered by DMOJ |