@lightningdev1

"what the hell is a product" great video already

@sprobertson

love how everyone's first instinct for multiplication was starting with 0

@WesBos

give me a button clicking challenge next time, not rocket science

@gabrielwest2584

Declaring a variable in a function invocation is wild lol

@SpaceChicken

Hopelessly addicted to your Clash of Code videos. The problem solving, the looking up of "product," the unrelenting trash talk of CJ, there's nothing better.

@CasperA

As a math major the final problem was so painful. The velocity is given by 2 * t, then you can find the total distance traveled by integrating giving t**2. Calculus is probably one of the most powerful things you can learn, it turns problems which seems incredibly difficult into something you can solve in 10 seconds.

@Imperial_Squid

17:43 I think you can save another character too by changing `r()*120-r()-r()>0` to `r()*120-r()>r()`, saves you a minus and a zero just by moving the third number to the other side of the equation

@dually888

Scott is always my favorite to watch in these because it's exactly the same kind of thing I go through for leetcode type things while under pressure. Love these videos, gents. Thanks for doing these!

@brokeloser

Scott: one plus two is two
yes

@InternetDoggo

I'd love to see one where you all work together to optimize the hell out of one of these. You could all do it independently and then take all your ideas and merge them into one tiny snippet.

@jesuskraisnik

Scott at the last one is just re-assigning a variable in a loop body :D

@salmanabdulshakur6566

😅😅😅
Bro is searching for the meaning of "Product". Hot seat! 🔥

@indrakhatiwada9860

It's fun seeing Scott struggle

@mantevian

for the last one, an easy way to understand this is to graph speed over time. since the acceleration is const, the graph is v = 2t. distance travelled is the area below this graph

@waleedbinalim

"Lets do Number() instead of ParseInt() cause it's shorter"
[Me Thinking] Should I tell them that prepending with '+' is even shorter?

EDIT: See, CJ gets it

@CyberTechBits

I like how CJ approaches the problems and hearing his thought process.

@socialwagner

I refuse to believe that I just saw two programmers asking and googling what a product is. Nope, this can't be real, because this is primary school level.

@Stoney_Eagle

Scott can't stop swearing, Wes completely sidelines the challenge and both full on attack CJ... The competitivness is strong. This is soo fun to watch 😂

@lucidattf

first instinct for that first problem:
n=readline();print(eval(n.split``.join('*')))

edit: ugh, should do print(eval(readline().split``.join('*'))) instead!

@tonynemec1598

It's fun to see how you each tackle the problem. Scott and Wes like to write out full variable names and then shorten. CJ is already thinking about the character count. For timed challenges, I guess you have to shift into that quick thinking brain to do well on this.