Google Code Jam Round 1B 2020

  Рет қаралды 46,151

William Lin (tmwilliamlin168)

William Lin (tmwilliamlin168)

Күн бұрын

Пікірлер: 102
@scwfan08
@scwfan08 4 жыл бұрын
"How fast do you type?" "Yes"
@adarshkashyap8715
@adarshkashyap8715 4 жыл бұрын
remembered a scene from Social network
@dusanjovic7268
@dusanjovic7268 4 жыл бұрын
Input [y;e;s]
@drytube6907
@drytube6907 4 жыл бұрын
Could you provide the link of the keyboard you're currently using?
@Max-us5xl
@Max-us5xl 4 жыл бұрын
China keyboard for 5$
@joeexotic6015
@joeexotic6015 4 жыл бұрын
@@Max-us5xl racist canadian
@codewithkolhar3131
@codewithkolhar3131 4 жыл бұрын
He is using a mechanical keyboard
@z41n
@z41n 4 жыл бұрын
@@Max-us5xl ​ know which one? looks like theres korean and chinese on there. with some logo in the top-center. its not the qsenn k35
@akashthoriya
@akashthoriya 4 жыл бұрын
Great stuff! Thank you from the bottom of my heart. Please make more videos on codeforces. It will be helpful a lot. I love the way you approach the problem.
@MrBUDGIESROCK
@MrBUDGIESROCK 4 жыл бұрын
Do you think you would ever be able to give us a Vim tutorial? :D
@deepakmehrotra3426
@deepakmehrotra3426 4 жыл бұрын
@William Lin..will you be giving the explanations of the first two problems of the contest?
@TheJack2HD
@TheJack2HD 4 жыл бұрын
Hey man, awesome work! Do you mind showing your setup for these comps? The computer you use, where your water bottle is located etc. Appreciate it!
@changeling9821
@changeling9821 4 жыл бұрын
@Abel Tatek Because he wants to know the optimal water bottle placement.
@NotFound-hy7qb
@NotFound-hy7qb 4 жыл бұрын
@@changeling9821 lol
@aryasaktiflister_aw
@aryasaktiflister_aw 4 жыл бұрын
@@changeling9821 computer scientists are all about optimization so this hits home
@junxishao7779
@junxishao7779 2 жыл бұрын
Your keyboard is awsome, what type is that ?
@x0cx102
@x0cx102 4 жыл бұрын
number 2 was my favorite, nice solution to p3 :)
@yogeshdhiman8786
@yogeshdhiman8786 4 жыл бұрын
Hey william can you tell us how much time did it take you to reach such a typing speed?
@dhananjaysonawane1996
@dhananjaysonawane1996 4 жыл бұрын
Rather than explaining while contest is going on, you can explain each and every bit of your algo/code after a contest. Such a explanation will be more clear and precise.
@joshueo5451
@joshueo5451 4 жыл бұрын
I agree
@2s4in28
@2s4in28 4 жыл бұрын
Yes that is more effort tho and he has to try to remember what he was thinking
@mohammedshoaib1635
@mohammedshoaib1635 4 жыл бұрын
This was very helpful, thank you for making these videos :) I hope to see you in the world finals of Google Code Jam!
@ffff175
@ffff175 4 жыл бұрын
你真的很厲害! You’re a natural. Keep it up!
@codewithkolhar3131
@codewithkolhar3131 4 жыл бұрын
Chingi lavde chup.
@HAL--vf6cg
@HAL--vf6cg 3 жыл бұрын
@@codewithkolhar3131 have some fuckin shame... khud toh ghanta coding aati yaha racist bakwas karke cool ban raha
@kunalgarg9504
@kunalgarg9504 4 жыл бұрын
Hi Willian, can you please explain more on problem 3. why this (r*(s-1) + 1) /2. i came up with (r-1)*(s-1) during the contest but that was not right.
@iitnakanpur..
@iitnakanpur.. 4 жыл бұрын
Are you able to solve the first two problems
@rajanjha862
@rajanjha862 4 жыл бұрын
Can you make a explanation video of first problem. Your approach seems unique
@mohitthakur5571
@mohitthakur5571 4 жыл бұрын
Thanks for ur efforts! Really appreciate it.
@irfanemretapar6679
@irfanemretapar6679 4 жыл бұрын
How old were you when you get started to programming?
@redstubxd2489
@redstubxd2489 4 жыл бұрын
Hey
@irfanemretapar6679
@irfanemretapar6679 4 жыл бұрын
Hey
@osmanjimenez7425
@osmanjimenez7425 4 жыл бұрын
Not sure if I'm missing something but he never updated variable hit in 3rd one. Then he will never do binary searchs haha. Am I wrong?
@karthikbhargav6148
@karthikbhargav6148 4 жыл бұрын
Do you have a drawing tablet?
@will-ye
@will-ye 4 жыл бұрын
Hey, can you overlay a program that shows which key presses you're hitting?
@ojusvasingh1330
@ojusvasingh1330 4 жыл бұрын
Wow I just subscribed to u minutes ago, this is awesome
@RomanReigns-ds8hs
@RomanReigns-ds8hs 4 жыл бұрын
Hey , I have done the 1st problem in another way i.e. Getting a binary string with 0 s -1s and 1s and then making the given X and y from that binary string , can we do like that ? I am unable to get X and y from the string Eg: if X and y are 3 and 6 Then my binary string will be 1 1 -1 -1 which means +8 +4 -2 -1 , from this taking 8 and -2 gives 6, 4 and -1 gives 3. I just want these values from the string . Is there any approach to this @william lin. If yes, please explain?
@RomanReigns-ds8hs
@RomanReigns-ds8hs 4 жыл бұрын
Please explain if you know , I am trying from 10 hrs 😅!!
@A-M-A-N-G
@A-M-A-N-G 4 жыл бұрын
WHEN YOU ARE STARTED CODING, WILL YOU SHARE SOME TIPS ?
@pritamroy770
@pritamroy770 4 жыл бұрын
Thanks man! Awesome video, I got the approach of question 2 right for the first two cases but the binary search part didn't hit then ! Sed
@hvuupadhyay5418
@hvuupadhyay5418 4 жыл бұрын
Ok I like your desktop background.
@koulicksadhu7679
@koulicksadhu7679 4 жыл бұрын
I think this round was much harder than Round 1A
@llight1635
@llight1635 4 жыл бұрын
what keyboard are you using ?
@sunnysinha9728
@sunnysinha9728 4 жыл бұрын
I would be very grateful to william lin if you could help me with this code(second problem).... i am banging my head for last 36hrs and still the testing tool is not giving correct results... following are the steps: 1: find a random hit in the circle (i,j) say, 2: find the extreme point below (i,j) let it be (mx1,my1), 3: find extreme point above (i,j) let it be (mx2,my2) (obviously mx1 == mx2 and my2 > my1) 4: since we have the chord joining points (mx1,my1) and (mx2,my2).... we will calculate their mid point (mx,my) 5. from (mx,my) we will get rightmost point (mx3,my3) and left most point (mx4,my4) on the circle 6. finally our center is ( (mx3+mx4)/2, (my3+my4)/2 ) #include using namespace std; typedef long long ll; ll R; bool hit, center; ll mx1, my1, mx2, my2, mx3, my3, mx4, my4; ll mx, my; const ll M = 1e9; vector s; int cnt = 0; string HIT = "HIT", WRONG = "WRONG", CENTER = "CENTER",MISS = "MISS"; string query(ll x, ll y) { // cout
@kairules555
@kairules555 4 жыл бұрын
How can you give round 2b when you already qualified in round 2a?
@jpfr012
@jpfr012 4 жыл бұрын
hi William! if you qualify for the finals, are you able to attend it? I mean, aren't you underage?
@parvgour5284
@parvgour5284 4 жыл бұрын
age does not matter in code jam...
@charan775
@charan775 4 жыл бұрын
@@parvgour5284 lol it matters. Gennady also qualified for codejam before his 1st win but he wasn't able to attend due to underage
@jpfr012
@jpfr012 4 жыл бұрын
@@parvgour5284 Gennady qualified once but he couldn't attend the finals because he was seventeen at the time, in case you don't know. if William is under 18 it will happen the same.
@parvgour5284
@parvgour5284 4 жыл бұрын
Joao Ribeiro okkk.. I thought that he was above 18...
@jpfr012
@jpfr012 4 жыл бұрын
@@parvgour5284 that's why I did that question, I don't know William's age, isn't he in highschool?
@gaurangbansal3558
@gaurangbansal3558 4 жыл бұрын
What was level of gcj 2020 round 1b acc to cf?
@0x1h0b
@0x1h0b 4 жыл бұрын
you fucking legend man !!!... keep inspiring..
@robertbmx1436
@robertbmx1436 4 жыл бұрын
hi, can you do a tutorial on how to set c++ environment in vim?
@imdeadshot3632
@imdeadshot3632 4 жыл бұрын
hey bro! can you also provide link to codes, just for reference!
@VeeWebCode
@VeeWebCode 4 жыл бұрын
what is your pc config?
@jaycemain269
@jaycemain269 4 жыл бұрын
Yoo you from TAS?
@codeWithBatta
@codeWithBatta 4 жыл бұрын
can you make a vedio on competitive setup of gvim
@liquidnitr0gen597
@liquidnitr0gen597 4 жыл бұрын
What ide does he use
@halfblood_slayer5989
@halfblood_slayer5989 4 жыл бұрын
Please do atcoder contests.
@speedcreates
@speedcreates 4 жыл бұрын
How long do you sleep?
@sammyc5678
@sammyc5678 4 жыл бұрын
Doesn't
@vaibhavsingh4108
@vaibhavsingh4108 4 жыл бұрын
2 hours
@vincentkotrash7178
@vincentkotrash7178 4 жыл бұрын
Hi, William I trying to start with programming I choose for the first language a c sharp it is that a good choice or is better python or java ? What language u started with. sorry for my English I'm only 13
@bigshaqsmathematicalinstit3318
@bigshaqsmathematicalinstit3318 4 жыл бұрын
vincentkotrash I suggest you start with a easy to learn language, so yes either of the options you listed is good. But I suggest that you first learn VB. Net, I would say that it is the most beginner friendly!
@codecows7956
@codecows7956 4 жыл бұрын
Go for Python. Visual Basic is not portable and it is not open source, it is awkward and does not teach you about modern high level coding. Python is simple, interactive and widely used. There are lots of free online courses. It runs on all platforms.
@davidakoji3696
@davidakoji3696 4 жыл бұрын
If it's to start competitive programming honestly just learn C++. C++ is really not hard to learn for competitive programming. and when starting, it's better to start well so just stick with C++. Forget "beginner friendly", there's no language that can't be learned.
@mateovaldivia7640
@mateovaldivia7640 4 жыл бұрын
C++
@parvgour5284
@parvgour5284 4 жыл бұрын
Python is best...
@pranaykumar3813
@pranaykumar3813 4 жыл бұрын
when is your next video?
@yinghanma1314
@yinghanma1314 4 жыл бұрын
where is u mechanical keyboard lol
@aryanshshrivastava2650
@aryanshshrivastava2650 4 жыл бұрын
Tmw orz
@EDMExpressss
@EDMExpressss 4 жыл бұрын
The only thing I figured out from your vdo is... You installed Minecraft lmao
@cerditoos3399
@cerditoos3399 4 жыл бұрын
o Dopa
@rajshekhar2953
@rajshekhar2953 4 жыл бұрын
u are amazing
@Satyam22jul
@Satyam22jul 4 жыл бұрын
Bro upload code forces 634 DIV 3 discussion
@scwfan08
@scwfan08 4 жыл бұрын
I only understand train station
@speedcreates
@speedcreates 4 жыл бұрын
Deutsche Sprichwörter versteht man im Englischen nicht
@scwfan08
@scwfan08 4 жыл бұрын
@@speedcreates Thanks Captain
@bingpingbongpong662
@bingpingbongpong662 4 жыл бұрын
@@speedcreates ich habe ihn verstanden
@crayola4362
@crayola4362 4 жыл бұрын
Can someone tell me what font he uses?
@BrandonLin1
@BrandonLin1 4 жыл бұрын
:o
@didedoshka
@didedoshka 4 жыл бұрын
Want more codeforces, it is my favorite
@sainathsingineedi2922
@sainathsingineedi2922 4 жыл бұрын
Share your vimrc bruh
@binarytree6454
@binarytree6454 4 жыл бұрын
hey bro, could you make a video about questions and answers? i have some for you, for example how many time have you coded? how old are you? etc thanks and i hope you get succesfull
@nahuelcabrera740
@nahuelcabrera740 4 жыл бұрын
No entiendo nada, alguien me explica
@bhaskar08
@bhaskar08 4 жыл бұрын
Consider removing the keyboard cam, we'll be able to see a lot more of the code
@benjiski6
@benjiski6 4 жыл бұрын
Anyone knows the chrome extension that allows you tu use the search bar as a calculator ? (he uses it at 1:04:32) Thx :) edit : solved
@andreasr621
@andreasr621 4 жыл бұрын
it's not a chrome extension it's a google chrome thing
@benjiski6
@benjiski6 4 жыл бұрын
@@andreasr621 I don't have it by default and I use google chrome...
@sahilsharma2952
@sahilsharma2952 4 жыл бұрын
@@benjiski6 Try updating your google chrome.
@benjiski6
@benjiski6 4 жыл бұрын
@@sahilsharma2952 I did before posting the comment
@benjiski6
@benjiski6 4 жыл бұрын
@@sahilsharma2952 I found the result, I had selected google.com as the default search engine instead of google
@codeguy21
@codeguy21 4 жыл бұрын
Hey can you be little more louder
@parvgour5284
@parvgour5284 4 жыл бұрын
William, your final rank was 89th not 3rd...
@pranay2516
@pranay2516 4 жыл бұрын
Yes, read the description
@cerditoos3399
@cerditoos3399 4 жыл бұрын
faker eres tu?
Winning Google Kickstart Round A 2020 + Facecam
17:10
William Lin (tmwilliamlin168)
Рет қаралды 9 МЛН
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,4 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 12 МЛН
This dad wins Halloween! 🎃💀
01:00
Justin Flom
Рет қаралды 15 МЛН
Winning Google Kickstart Round C 2020
30:57
William Lin (tmwilliamlin168)
Рет қаралды 3,9 МЛН
Computer Scientist Answers Computer Questions From Twitter
14:27
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,7 МЛН
Python VS С# | Согласен / Не согласен
14:27
Технологии в Контуре
Рет қаралды 50 М.
New largest prime number found! See all 41,024,320 digits.
10:14
Stand-up Maths
Рет қаралды 335 М.
Acing Google Coding Interview as an 18 year old High School Student
48:57
William Lin (tmwilliamlin168)
Рет қаралды 2,8 МЛН
Making a Game in JavaScript with No Experience
5:49
Goodgis
Рет қаралды 867 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 98 М.
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,4 МЛН