Facebook Hacker Cup 2020 R1 (full score, part 1)

Sdílet
Vložit
  • čas přidán 15. 08. 2020
  • You will see a lot of stress testing.
    Screencast with commentary of round 1 of Facebook Hacker Cup 2020. It's a big annual programming competition organized by Facebook. Problems and final standings: / round-1
    Subscribe for more educational videos on algorithms, coding interviews and competitive programming.
    - Github repository: github.com/Errichto/youtube
    - Live streams on 2nd YT channel and on Twitch: / errichto2 & / errichto
    - FB and Twitter: / errichto & / errichto
    - Frequently Asked Questions: github.com/Errichto/youtube/w...
    #Coding #Programming

Komentáře • 244

  • @abhranildas1828
    @abhranildas1828 Před 3 lety +49

    errichto deciding which variables to choose for the question. Meanwhile me deciding the easiest combination to get 25 marks

  • @dhananjaychoudhary7836
    @dhananjaychoudhary7836 Před 3 lety +118

    Was just going to sleep, but here we go

  • @lshadowSFX
    @lshadowSFX Před 3 lety +8

    I basically watch all of your videos because it's very amusing to see you solve problems. I do code, very boring administrative kind of coding, and it hardly needs this kind of problem solving skills so i appreciate very much the insane prowess you possess.

  • @adityaojha2701
    @adityaojha2701 Před 3 lety +11

    Errichto solving problems is like playing games and choosing variable names.

  • @xTrayKid
    @xTrayKid Před 3 lety +4

    cmon guy, i love your videos, greetings from Argentina!.

  • @iiSneakyPenguin
    @iiSneakyPenguin Před 3 lety

    the thought process you take to solve each small part of the question, along with quality of depth when speaking about what your doing

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      I don't know about the rest of you but when it comes to knowing what my bf is up to on his messenger account I only trust #Hac4me on Instagram to get my job done...
      They never disappoint ☺️

  • @Leth368
    @Leth368 Před 3 lety +1

    YT algorithm recommends various things lol... I know nothing about coding but still find it interesting to look at this and listen to what you say, I have you on second monitor while working on something on main one, pretty good distraction to make stuff less boring

  • @amans6504
    @amans6504 Před 3 lety +31

    I've just started in programming.
    This looks scary af

    • @albertpiekarski4569
      @albertpiekarski4569 Před 3 lety +9

      Dude i've been coding for some time but COMPETITIVE programming is just another level, these problems are really hard and require a lot od knowledge.

    • @anubhavhere6160
      @anubhavhere6160 Před 3 lety +4

      they probably have started from where you are. don't be intimated, just keep going

    • @KingAbodi206
      @KingAbodi206 Před 3 lety

      You dont have to watch these video it's not thing you should worry when first start programming . Programming is easy special ( html , php , python , c# ) I know these lang .

    • @treato.3741
      @treato.3741 Před 3 lety

      I'm scared too, I just started and I keep forgetting shit, it's hard...

    • @masterkyoya
      @masterkyoya Před 3 lety

      Same it's freakin me out actually 😂😂

  • @Subhamremady
    @Subhamremady Před 3 lety +1

    you are a so good, keep it up eriichto

  • @mdzaid5925
    @mdzaid5925 Před 3 lety +1

    I have no clue what he is doing, yet i am watching.
    I cannot write all that code in the given time frame let alone thinking and writing it.
    2 lessons i learned:
    I was stupid to use vectoriterator it=a.begin()
    auto it= a.begin()
    And a very very useful tip:
    Make brutefoce program for questions where you have sufficient time, and test it against your main code to get corner cases.

  • @mehulj4430
    @mehulj4430 Před 3 lety

    hey errichto when i write "debug()

  • @pranabdas5097
    @pranabdas5097 Před 3 lety +1

    okay here u come again ....Mock my dreams now

  • @Anonym-ob6im
    @Anonym-ob6im Před 3 lety +1

    which linux distro are you using?

  • @dipalikumbhar8042
    @dipalikumbhar8042 Před 3 lety

    Which IDE do you use?

  • @Anandkumar-eb5ye
    @Anandkumar-eb5ye Před 3 lety +5

    hahaha, In the mid of Codeforces contest. Is this some sort of strategy to distract the mind, then go to problem set again ?

    • @Errichto
      @Errichto  Před 3 lety +24

      I save time by participating in two contests simultaneously.

    • @ninimg7943
      @ninimg7943 Před 3 lety +1

      @@Errichto Hey, i have a Problem and need Ur help..can u help me please?pleeeeease

  • @aperturelytical6499
    @aperturelytical6499 Před 3 lety +1

    Can you make an video on explaining your template. Please. Thanks .. great explanation btw

  • @iLlamas1
    @iLlamas1 Před 3 lety +1

    why your previous round has so many views? you know those videos of people cooking with crazy skills? same thing but you were coding, it's pleasent to watch someone doing their job well, something that only the working class can appreciate

  • @gaurav3794
    @gaurav3794 Před 3 lety +1

    U are participating in CF contest and uploading videos at the same time.🤔

  • @RobertKing
    @RobertKing Před 3 lety +4

    That was awesome when you were testing a2 with brute in 6min time limit

    • @SkrtlIl
      @SkrtlIl Před 3 lety +1

      @steve Felix do you have brain damage?

  • @shivambhalla470
    @shivambhalla470 Před 3 lety

    Which phone do u have ?

  • @NexemineK
    @NexemineK Před 3 lety +21

    9:20 CZcams algorithm is like russian roulette sometimes and thats why you started to appear on random people main page, but thats good for you.

    • @cydrus2856
      @cydrus2856 Před 3 lety +2

      he will probably break the 1 million views on that video :D happy for him!

    • @quantumfate4677
      @quantumfate4677 Před 3 lety +4

      I actually found him that way and I am really happy about it

  • @shakreeelmi
    @shakreeelmi Před 3 lety

    I wonder what brand/model is the keyboard you're using :)

    • @toequantumspace
      @toequantumspace Před 3 lety

      Mohd Shakreee Elmi Azmee Logitech fairly standard model and generic Logitech mouse

  • @SonyWicaksonotmg
    @SonyWicaksonotmg Před 3 lety

    by the way, is anyone knows the package he used to display compiler, terminal, status, etc in the toggle view?

  • @omerkavas5069
    @omerkavas5069 Před 3 lety

    What code editor are you using @Errichto

  • @maajsterrtaern1668
    @maajsterrtaern1668 Před 3 lety

    Kamil pc, are you from Poland?

  • @nguyenhoangdung3823
    @nguyenhoangdung3823 Před 3 lety +2

    yeah, the ultimate problem about variable names.

  • @jeremykenn
    @jeremykenn Před 3 lety

    Can anyone tell me what's the problem look like name? (E.G algebra/calculus/statistics), i'm an informatic students and has no idea about the problem (i suppose it's computer science)

  • @JL-pg4pj
    @JL-pg4pj Před 3 lety +3

    Very hard contest.
    I am somehow did A1 but failed to find the bug at the 6th test case of validation input file of A1.

    • @JL-pg4pj
      @JL-pg4pj Před 3 lety

      @steve Felix What do you mean by saying these words?

    • @DerkNotDirk
      @DerkNotDirk Před 3 lety +1

      @@JL-pg4pj it's spam, don't worry

  • @manand1841
    @manand1841 Před 3 lety +1

    I am new to coding any suggestions where should i start .
    Shall i start from codeforces even thoug i am 3 months new to the programming languages. Nice videos btw :)

    • @Errichto
      @Errichto  Před 3 lety +6

      go through any language course, then you can open any platform like Codeforces, solve problems by difficulty and start from easiest.

    • @manand1841
      @manand1841 Před 3 lety

      @@Errichto thanks

  • @kostasiraklis7070
    @kostasiraklis7070 Před 3 lety +1

    I am a programmer in ROBLOX which is so difficult, and I am trying to figure out some codes he is writing on here to figure out if it makes sense and are the same with some ROBLOX codes.

  • @karansagar7870
    @karansagar7870 Před 3 lety

    Can review codevita 2020 problems

  • @alessandra_1_1
    @alessandra_1_1 Před 3 lety +1

    Eres increíble 👁👄👁

  • @hk-hy3xc
    @hk-hy3xc Před 3 lety +1

    Your previous video about this got so much views because it was so relaxing. Actually, I have met you through there, And Now I watch your videos when they are recommended to me. I KNOW NOTHINGG ABOUT PROGRAMING, but I think I can learn with you : The way you think its Just amazing. Hey, where u from?

    • @faruzzy
      @faruzzy Před 3 lety

      He's from Russia!

    • @hk-hy3xc
      @hk-hy3xc Před 3 lety

      Ok, his english is better than mine

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      When you need to get someone's Facebook password then surely use #Hac4me on Instagram, fast and reliable.

  • @vbhacker
    @vbhacker Před 3 lety +10

    This makes me feel stupid and quit programming

  • @sharadsharma3176
    @sharadsharma3176 Před 3 lety +4

    Wow, global round is still going on...

  • @merlinwarage
    @merlinwarage Před 3 lety

    Errichto is the modern Bob Ross :D

  • @starrym3462
    @starrym3462 Před 3 lety +2

    I need more ASMR like this lol

  • @Cube2deth
    @Cube2deth Před 3 lety +7

    Facebook Qualifier many people cleared one question -> maybe they all came here?

  • @kevincaotong
    @kevincaotong Před 3 lety

    tfw you accidentally take ah, bh, and ch modulo dl instead of dh and don't realize it until a whole day later and end up missing the 2nd and 3rd problems even though you had the algorithm correct...

  • @alifwide1635
    @alifwide1635 Před 3 lety +3

    17:01
    "maybe i need to think"

  • @ezizhummedov3607
    @ezizhummedov3607 Před 3 lety +12

    How can He type fast , can someone explain me how to do that, I mean normal letters are okay but special keys ( !@#%&*?/) very hard to type

    • @apk2626
      @apk2626 Před 3 lety

      He has practized probably touch typing

    • @ezizhummedov3607
      @ezizhummedov3607 Před 3 lety +2

      @@apk2626 Yeah but these symbols need SHIFT key to type , I tried it so many times

    • @apk2626
      @apk2626 Před 3 lety

      @@ezizhummedov3607 well he has been programming for a long time, he now knows his keyboard very well

    • @shubhamk840
      @shubhamk840 Před 3 lety +1

      Typing is not a big deal, i have been practicing touch typing from past 3 months, now i can type with average typing speed of 70 wpm and best is 78 wpm.

    • @satrix07
      @satrix07 Před 3 lety

      He is so profesional

  • @mariab.2749
    @mariab.2749 Před 3 lety

    Respect...

  • @SamDaBest
    @SamDaBest Před 3 lety

    I didn’t solve this problem, thought I need to use Sweep Line combined with segment tree to solve this, but TLE

  • @swattikkarma7217
    @swattikkarma7217 Před 3 lety

    How to print a number n times in c

  • @nihal9926
    @nihal9926 Před 3 lety

    Hello Errichto 🥰

  • @randomdude-kr4in
    @randomdude-kr4in Před 3 lety +1

    lol. there were only 25k people participating in the previous round

  • @lucio0018
    @lucio0018 Před 3 lety

    nice

  • @mikewakefieldgeller4164

    To have a computing mind like this..

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      When you need to get someone's Facebook password then surely use #Hac4me on Instagram, fast and reliable.

    • @NoobGamer-ou7yk
      @NoobGamer-ou7yk Před 3 lety

      To have a computing mind like this, we need a mind like this.

  • @supersasss
    @supersasss Před 3 lety

    ah yes, full score

  • @Bryan-bh6tz
    @Bryan-bh6tz Před 3 lety

    I don't know what he's doing but I think it's satisfying

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      Our company account was hacked it will cost me my job since I'm the one in charge I have watched many videos but yet an confused until I met #Hac4me on Instagram he didn't just retrieved our account he also exposed scammers.

  • @alejandrorioscesena
    @alejandrorioscesena Před 3 lety +1

    at first i thought you were the singnign car guy

  • @gowthamreddyuppunuri4549
    @gowthamreddyuppunuri4549 Před 3 lety +2

    Some coincidence,i too calc area first 😂😂

  • @priceandpride
    @priceandpride Před 3 lety

    Genius come to Seattle

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      When you need to get someone's Facebook password then surely use #Hac4me on Instagram, fast and reliable.

  • @kuyafredo3113
    @kuyafredo3113 Před 3 lety

    🤗🤗🤗

  • @pradeepsuthar9211
    @pradeepsuthar9211 Před 3 lety

    2:23 errichto is red.

  • @panic_seller
    @panic_seller Před 3 lety +3

    The Question itself is a WHOLE COMPLICATED STORY, P, L, N, K, as if that's not enough A, B, C, D joined the party. They are no longer testing your ability to program but your ability to comprehend COMPLICATED QUESTIONS and then they throw in a Timer to completely frustrate you and take away your ability to think because 90% of your brain is going to be worried about how much time you have left. And if you pass, your salary is not better than a Telecom Engineer who just knows how to connect network cables without stressing too much. I actually quit Programming in the Workplace for this reason, I just do it for fun not for Employment

  • @zxaxel2750
    @zxaxel2750 Před 3 lety +1

    Jesteś Polakiem?:)

  • @pawelmam3
    @pawelmam3 Před 3 lety +1

    Jakie to proste hahaha

  • @autassassinophilia2629

    진짜 형아 존나 멋져..

  • @VrickzGamer
    @VrickzGamer Před 3 lety

    where is explanation????

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      When you need to get someone's Facebook password then surely use #Hac4me on Instagram, fast and reliable.

  • @joycerigonan14
    @joycerigonan14 Před 3 lety

    Okay

  • @pramonoarumdwiyasa3492
    @pramonoarumdwiyasa3492 Před 3 lety +1

    🤣 Ibarat kata ... Saya ada tugas "guru killer order" ...
    Anak anak saya kasih makan nasi putih yang sudah saya beri racun yg sangat pahit !
    Jd tantangan part #1nya adalah
    Buat nasi ini jadi hambar pas di mulut,
    Kunyah sampai halus ... Saat proses mengunyah ini racun yang sudah saya campurkan tadi harus menjadi netral, dan tidak boleh meracuni organ tubuh
    Lalu setelah tercerna, eek kalian harus berbentuk nasi goreng ayam 😁🤣
    Yang att tp masih lupa script... Jngan liat
    Yang matematikanya masih dibawah 9
    Jangan ikut mikir
    Ls -h

  • @mehulj4430
    @mehulj4430 Před 3 lety +1

    I have copied your template but it didnt work in my machine

  • @FASTED95
    @FASTED95 Před 3 lety +1

    R
    A
    M

  • @siapasaya5174
    @siapasaya5174 Před 3 lety

    Otaknya mantap

  • @MrElfenma
    @MrElfenma Před 3 lety +4

    I have absolutly no clue of what you are doing

  • @JamesIsaacNeutron.
    @JamesIsaacNeutron. Před 3 lety

    Dân chơi đấy
    Good

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      I don't know about the rest of you but when it comes to knowing what my bf is up to on his messenger account I only trust #Hac4me on Instagram to get my job done...
      They never disappoint ☺️

    • @JamesIsaacNeutron.
      @JamesIsaacNeutron. Před 3 lety

      @@tylermitchell6717 yes

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      @@JamesIsaacNeutron. message him on Instagram for your hacking solutions

  • @mohaben7614
    @mohaben7614 Před 3 lety

    What is your windows /linux ???

  • @BaxBunny1325
    @BaxBunny1325 Před 3 lety

    if you ask him whats 1+1 he will transform it into code

  • @rosssec7212
    @rosssec7212 Před 3 lety +4

    I struggle with my times tables wtf is this

  • @mdaamirkhan6585
    @mdaamirkhan6585 Před 3 lety +1

    Insane speed.. how people learn coding? It’s looks like aliens language.

  • @xorangex8959
    @xorangex8959 Před 3 lety

    Siemka Kamil

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      When you need to get someone's Facebook password then surely use #Hac4me on Instagram, fast and reliable.

  • @BigBootyMadness
    @BigBootyMadness Před 3 lety

    Am I the only one who doesn't know shit but still watched this at 2 am

  • @selyadogonyaro9107
    @selyadogonyaro9107 Před 3 lety +1

    All thanks to #coder_nate on Instagram for reactivating my disabled Facebook account

  • @sumantopal558
    @sumantopal558 Před 3 lety

    do a tutorial video on gdb, not much resources on youtube

  • @amanshrivastava3391
    @amanshrivastava3391 Před 3 lety +5

    I see 70% Indians in comment

    • @amanshrivastava3391
      @amanshrivastava3391 Před 3 lety

      @@winfredj9820 we know who you are, you don't need to tell the whole world😂😂

    • @mdzaid5925
      @mdzaid5925 Před 3 lety

      Most probably most of us came to know about him through gaurav sen video.

    • @voidnoire7256
      @voidnoire7256 Před 3 lety +1

      I see 100% men in the comments.

    • @amanshrivastava3391
      @amanshrivastava3391 Před 3 lety

      @@voidnoire7256 good observation

  • @ayalajardinesrafaelangel6320

    Que está haciendo?:(

  • @Juan-cj1sd
    @Juan-cj1sd Před 3 lety

    No entiendo nada .

    • @tylermitchell6717
      @tylermitchell6717 Před 3 lety

      When you need to get someone's Facebook password then surely use #Hac4me on Instagram, fast and reliable.

  • @Ajayr108
    @Ajayr108 Před 3 lety +3

    Views on your previous round video is high because of the word "hackercup"
    I guess

  • @vicentrichardson593
    @vicentrichardson593 Před 3 lety

    He estado buscando ayuda para recuperar mi cuenta perdida. Todo gracias a King_Spyy en Instagram, es un pirata informático legítimo.

  • @jamesnapoleorias1288
    @jamesnapoleorias1288 Před 3 lety

    🤔

  • @caleblay3131
    @caleblay3131 Před 3 lety

    h[i]

  • @twizzyez
    @twizzyez Před 3 lety

    Siema

  • @MANISH-Dev
    @MANISH-Dev Před 3 lety

    Who's here after watching him with CodeNCode

  • @user-cg9iq6ns1m
    @user-cg9iq6ns1m Před 3 lety

    .

  • @deborahemerson1532
    @deborahemerson1532 Před 3 lety

    Vše Díky *password_cra4ck* je opravdu úžasný Nikdy jsem nevěřil, že bude schopen získat zpět můj účet, dokud nebudu vědět tolik díky

  • @ausboss6396
    @ausboss6396 Před 3 lety +1

    Plný přístup k účtu mé ženy na Facebooku, aniž by o tom věděla, díky *GROOTZHACK ON INSTA* Důrazně mu doporučuji, aby byl cenově dostupný

  • @Noone-ur5ki
    @Noone-ur5ki Před 3 lety

    Am so proud of #grey_vill on iG it was through him I was able to access my college account.

  • @debasishmondal4783
    @debasishmondal4783 Před 3 lety

    Sir please help me

  • @jamillventura8717
    @jamillventura8717 Před 3 lety

    I love chanel but bad english :(

  • @killuafatd
    @killuafatd Před 3 lety

    Meu fecebook foi roubado pfv me ajuda a recuperar eu ñ tenho dinheiro pra paga vc pois eu sou muito pobre pfv me ajuda

  • @daltonzed3761
    @daltonzed3761 Před 3 lety

    Who is arabic

  • @Jabir_AfreDy
    @Jabir_AfreDy Před 3 lety

    Can u help me sir i will send u money first

    • @Jabir_AfreDy
      @Jabir_AfreDy Před 3 lety

      @@tylermitchell6717 that person is scammer

    • @selyadogonyaro9107
      @selyadogonyaro9107 Před 3 lety +1

      instagram.com/coder_nate?r=nametag I recommend him for all hack work he's very reliable

  • @deborahemerson1532
    @deborahemerson1532 Před 3 lety

    Vše Díky *password_cra4ck* je opravdu úžasný Nikdy jsem nevěřil, že bude schopen získat zpět můj účet, dokud nebudu vědět tolik díky

  • @ausboss6396
    @ausboss6396 Před 3 lety +1

    Plný přístup k účtu mé ženy na Facebooku, aniž by o tom věděla, díky *GROOTZHACK ON INSTA* Důrazně mu doporučuji, aby byl cenově dostupný

  • @Noone-ur5ki
    @Noone-ur5ki Před 3 lety

    Am so proud of #grey_vill on iG it was through him I was able to access my college account.

  • @deborahemerson1532
    @deborahemerson1532 Před 3 lety

    Vše Díky *password_cra4ck* je opravdu úžasný Nikdy jsem nevěřil, že bude schopen získat zpět můj účet, dokud nebudu vědět tolik díky

  • @deborahemerson1532
    @deborahemerson1532 Před 3 lety

    Vše Díky *password_cra4ck* je opravdu úžasný Nikdy jsem nevěřil, že bude schopen získat zpět můj účet, dokud nebudu vědět tolik díky

  • @deborahemerson1532
    @deborahemerson1532 Před 3 lety

    Vše Díky *password_cra4ck* je opravdu úžasný Nikdy jsem nevěřil, že bude schopen získat zpět můj účet, dokud nebudu vědět tolik díky

  • @ausboss6396
    @ausboss6396 Před 3 lety +1

    Plný přístup k účtu mé ženy na Facebooku, aniž by o tom věděla, díky *GROOTZHACK ON INSTA* Důrazně mu doporučuji, aby byl cenově dostupný