aryanc403
aryanc403
  • 124
  • 356 573
ABCDEFG | Atcoder Beginner Contest 390 Solution Discussion
ABCDEFG | Atcoder Beginner Contest 390 Solution Discussion
Twitch channel - www.twitch.tv/aryanc403
My submissions - atcoder.jp/contests/abc390/submissions?f.Task=&f.LanguageName=&f.Status=&f.User=aryanc403
Community discord server - discord.gg/HKFgRWmWNY
LinkedIn - www.linkedin.com/in/yt403
Twitter - aryanc403
My Atcoder Profile - atcoder.jp/users/aryanc403
Chapters -
00:00:00 Testing
00:04:10 A - 12435
00:06:40 B - Geometric Sequence
00:10:00 C - Paint to make a rectangle
00:16:40 D - Stone XOR
00:37:40 E - Vitamin Balance
00:46:50 F - Double Sum 3
01:00:15 G - Permutation Concatenation
01:13:20 Chat QnA
Tags -
#icpc #ioi #codeforces #codeforcessolution #codeforcessolutions #codechef #codechefsolution #codechefsolutiontoday #atcoder #geekforgeeks #topcoder#hackerearth #hackerrank #hackerranksolution #hackerranksolutions #leetcode #leetcodesolutions #leetcodesolution #leetcodecontest
Переглядів: 1 375

Відео

[Reupload] Meta Hacker Cup Practice Round 2024 Solution Discussion
Переглядів 1,9 тис.4 місяці тому
[Reupload] Meta Hacker Cup Practice Round 2024 Solution Discussion
How to bruteforce game theory problems using CF Edu problem
Переглядів 2 тис.5 місяців тому
How to bruteforce game theory problems using CF Edu problem
Codeforces Educational Round 169 Solution Discussion | ABCDEF
Переглядів 3,3 тис.5 місяців тому
Codeforces Educational Round 169 Solution Discussion | ABCDEF
How to install atcoder library
Переглядів 2,5 тис.6 місяців тому
How to install atcoder library
TheOneYouWant AMA
Переглядів 11 тис.9 місяців тому
TheOneYouWant AMA
TheOneYouWant AMA Trailer
Переглядів 3,8 тис.9 місяців тому
TheOneYouWant AMA Trailer
#Atcoder #ABC 345 "E - Colorful Subsequence" Editorial (By #AIR #1)
Переглядів 1,1 тис.10 місяців тому
#Atcoder #ABC 345 "E - Colorful Subsequence" Editorial (By #AIR #1)
#Codeforces round 930 "Bitwise Operation Wizard" Editorial
Переглядів 1,3 тис.11 місяців тому
#Codeforces round 930 "Bitwise Operation Wizard" Editorial
#Codeforces round 930 "Shuffle Party" Editorial
Переглядів 1,2 тис.11 місяців тому
#Codeforces round 930 "Shuffle Party" Editorial
#Codeforces round 930 "Pokémon Arena" Editorial
Переглядів 59011 місяців тому
#Codeforces round 930 "Pokémon Arena" Editorial
#Codeforces think-cell round 1 C. "Lexicographically Largest" editorial
Переглядів 2,7 тис.11 місяців тому
#Codeforces think-cell round 1 C. "Lexicographically Largest" editorial
#Codeforces think-cell round 1 A. "Maximise The Score" editorial
Переглядів 39511 місяців тому
#Codeforces think-cell round 1 A. "Maximise The Score" editorial
#Codeforces think-cell round 1 B. "Permutation Printing" editorial
Переглядів 1,3 тис.11 місяців тому
#Codeforces think-cell round 1 B. "Permutation Printing" editorial
#StopPostContestHacking How to play cat and mouse game ft leetcode contests (and a shadow ban)
Переглядів 90911 місяців тому
#StopPostContestHacking How to play cat and mouse game ft leetcode contests (and a shadow ban)

КОМЕНТАРІ

  • @manubhushan7286
    @manubhushan7286 3 дні тому

    in problem E i dont understand why we have taken the prefix array size as n+1 can anyone help?

  • @godFather-123-b8g
    @godFather-123-b8g 4 дні тому

    sir post for AtCoder Beginner Contest 391

  • @viveksahu5446
    @viveksahu5446 6 днів тому

    Monokarp has a positive integer n . He decided to represent this number as a sum of distinct positive integers c1+c2+⋯+ck=n (ci>0 ), where the number of elements can be arbitrary. At the same time, Monokarp wants the product of all ci to be as large as possible. Help Monokarp find such a set of distinct integers c1,c2,…,ck such that the sum of all ci equals n , and the product of all ci is maximized. The number of elements in the decomposition can be arbitrary. Input The first line contains a single integer t (1≤t≤10 ) - the number of test cases. The first line of each test case contains one integer n (1≤n≤200) - Monokarp's number. Output For each test case, output two lines: in the first line, output two integers m and k - the maximum product c1⋅c2⋅c3⋅⋯⋅ck and the number of integers in the optimal representation of the number n . In the second line, output k distinct integers c1,c2,…,ck (ci>0 ) such that the sum of all ci equals n , and the product of all ci is maximized. You can print ci in any order. If there are multiple answers, output any of them. Example InputCopy 3 1 9 5 OutputCopy 1 1 1 24 3 4 3 2 6 2 3 2 Note In the first test case, n=1 , so the only possible representation of the number n consists of one integer 1 . In the second test case, n=9 . An optimal representation, for example, is 4+3+2=9 . The product of ci is 4⋅3⋅2=24 . This is the maximum product among all decompositions. In the third test case, n=5 , and one of the optimal representations is 3+2=5 . give code of this

  • @ujjwalagrawalvideos
    @ujjwalagrawalvideos 9 днів тому

    sir please post Atcoder solutions regularly

  • @DotaNoob
    @DotaNoob 11 днів тому

    Keep posting at coder solution ple

  • @mradultiwari9864
    @mradultiwari9864 11 днів тому

    For those who have doubt for question asked in stream for problem D : Test case : l = 777521061246424782 r = 954979436481808231 g = 2051248906594353 in this case g(l,r) and g(l,r-1) and even g(l+1,r) all are not equal to 1 after converting l to (l+g-1)/g and r = r/g;

  • @PLOMO21
    @PLOMO21 11 днів тому

    Thank you sir

  • @HusainBatterywala-u9m
    @HusainBatterywala-u9m 11 днів тому

    Was missing the CF and AtC solution streams for some time :)

  • @Anonymous____________A721
    @Anonymous____________A721 11 днів тому

    Sir plssss do abc 389 contest No videos are available and editorial is useless as usual

  • @umang-x8k
    @umang-x8k 11 днів тому

    thank you, needed this

  • @VishalVishal-p3g
    @VishalVishal-p3g 11 днів тому

    thank you bro for starting Atcoder contest solutions again. No one else is posting Atcoder solution on yt really thank u soo much :)

  • @grimreaper4277
    @grimreaper4277 12 днів тому

    for problem c i did sorting and 2 pointer

  • @SHAJJADULFERDOUS
    @SHAJJADULFERDOUS 12 днів тому

    where round 1000?

  • @em_nikhil_007
    @em_nikhil_007 13 днів тому

    Yo, demoralizer is back

  • @zero-w1b
    @zero-w1b 14 днів тому

    in problem F if prod[1] = n how ?? we can have only one array having product 1. All the elements of this array will be 1. can you please explain how prod[1] = n

    • @aryanc403
      @aryanc403 14 днів тому

      Size of array can be between 1 and N. So [1] is different from [1,1,1]

  • @ayushsinghrathore360
    @ayushsinghrathore360 14 днів тому

    Bhai Aap kaha job krte ho Right now ??

  • @pranavphatale8852
    @pranavphatale8852 15 днів тому

    Thank You Sir ❤

  • @abhiempowers
    @abhiempowers 16 днів тому

    Perfect bhai ♥️

  • @aankie
    @aankie 17 днів тому

    bro your explaining skill is top notch really!

  • @vaibhavs2740
    @vaibhavs2740 17 днів тому

    very well explained, thank you!

  • @MdArman-kt6sg
    @MdArman-kt6sg 17 днів тому

    sir please also upload codeforces contest solutions..

  • @muralidharansankar1069
    @muralidharansankar1069 17 днів тому

    this is really good very in depth explanation great job

  • @anshsharma8558
    @anshsharma8558 18 днів тому

    Thanks sir for the post discussion got stuck in 3rd problem thought of applying level wise dfs

  • @anshsharma8558
    @anshsharma8558 24 дні тому

    Thanks for this type of cp content aryan sir

  • @noface-qs5yi
    @noface-qs5yi 24 дні тому

    Commenting for content and players and better reach. Honest thoughts: 1. My specialist ass is getting depressed watching them kill problems which generally kills me. 2. Keep making such content for at least at my small rank it feels very motivating Idea: It would be nice to watch a speedrun to 10 problems first out of a given set of say 17 problems of rating 1700-2200 maybe as it feels good to keep thinking together as they think. Maybe a naive idea but I will surely watch it and do problems side by side.

  • @ThePROestRedn99
    @ThePROestRedn99 25 днів тому

    @Aryan sir, You are good friend with Neal sir, it would be great if you could bring him for duel 😁Would love to see him in a duel .... Please try to make it happen 🙏

  • @virenvariya
    @virenvariya 25 днів тому

    Respect for both participants!! What enthusiasm and smile on their faces! I truly loved to watch them code.

  • @therandomchannel37
    @therandomchannel37 25 днів тому

    I didn't knew dominator is that cute❤ Ahh what a lovely format, I'm loving it💕

  • @otabek_kholmirzaev
    @otabek_kholmirzaev 25 днів тому

    Bring tourist as well, we deserve him !

  • @blackmuskveetandoor2487
    @blackmuskveetandoor2487 25 днів тому

    Orz dominator069

  • @blackmuskveetandoor2487
    @blackmuskveetandoor2487 25 днів тому

    Who are going to be in the next duel

    • @aryanc403
      @aryanc403 25 днів тому

      I'm yet to find guests for the next duel.

    • @ThePROestRedn99
      @ThePROestRedn99 25 днів тому

      ​@@aryanc403Sir please try to bring Neal sir

  • @otabek_kholmirzaev
    @otabek_kholmirzaev 25 днів тому

    Keep it up the good content guys!

  • @TheJohnniePlays
    @TheJohnniePlays 26 днів тому

    My comment: Here is an idea to experiment on some future duels. Duel can be between two pairs of 2400+ rated users where for each round you choose 2 (up to 2400 codeforces difficulty rating) problems that are not solved by any of 4 duelists and then each pair split 2 problems so that each duelist solves only 1 problem without trying to solve the other one at all and then the main point is that each duelist can not write the solution for the problem player A solved but player A must collaborate with the other teammate (player B) in a way where the other teammate is using whiteboard and explaining all about the problem that this other teammate (player B) solved and giving instructions on what to write in order to solve the problem solved by the problem B. The same thing for problem solved by player A has to give instruction and explain all bits of the solution to player B. You could also have 3 streams separate where you have one main stream for your commentary and splitting between the other 2 streams where these 2 other streams each is for each pair of duelists with their commentary and screen share. Like the main points is in this solution explaining to the other teammate which could be interesting to see how top rated people come up with solutions. Maybe there doesn't even have to be any round but basically a set of problems that are not solved by any competitor like 5 problems or such and then each duelist marks the problem he is doing so the other one does not try to solve it and they have some time limit like 1h or 2h and are just trying to solve as many as possible. Also problems should be picked so they are not implementation heavy because that would be really hard I assume to code for the other person getting instruction, so maybe keep problems around 2000 cf rating difficulty or such so it keeps the stream quick paced and have something going at all time for majority of viewers to watch and learn something from the stream. This is just a rough idea with main focus on this solution explaining to the other teammate, I guess other people can give more suggestions and figure what could be done better and so. Anyway this ended up bit of a longer write up. Thanks for the streams. ================================================= Revised and more concise version of my comment by chatgpt: Here is an idea to experiment with for future duels. A duel could involve two pairs of 2400+ rated users. For each round, you could select two problems (with a maximum difficulty of 2400 Codeforces rating) that none of the four duelists have solved before. Each pair would then split the two problems so that each duelist solves only one problem without attempting the other. The twist is that no duelist is allowed to write the solution to the problem they solved. Instead, they must collaborate with their teammate. For example, player A explains the solution to the problem they solved to their teammate, player B, who codes the solution based on player A's explanation. The same applies in reverse-player B must explain and guide player A in coding the solution for the problem they solved. This format could be enhanced by having three separate streams: A main stream for your commentary, which alternates between the pairs. Two additional streams, one for each pair of duelists, with commentary and screen sharing. The main focus is on the solution explanation and collaboration between teammates, which could be fascinating to watch as it showcases how top-rated players approach problem-solving and communicate their ideas. You could also eliminate the concept of "rounds" and instead have a set of unsolved problems (e.g., 5 problems). Each duelist selects a problem to solve, ensuring no overlap, and the teams have a set time limit (e.g., 1 or 2 hours) to solve as many as possible. To keep the stream engaging, the problems should not be implementation-heavy, as this would make it difficult for one person to code based on another's instructions. Instead, problems around a 2000 Codeforces rating would likely be ideal, as they strike a balance between difficulty and fast pacing, keeping the stream interesting for viewers. This is just a rough idea focusing on the solution explanation aspect. I’m sure others can provide additional suggestions to improve this concept further. Thanks for the streams! ================================================= TLDR also by chatgpt lol chatgpt is the best: Proposed a duel format with two pairs of 2400+ rated users. Each duelist solves one problem (max 2400 rating) from a shared set of unsolved problems, then explains their solution to their teammate, who codes it based on the explanation. Focus is on collaboration and showcasing top players' problem-solving and communication skills. Suggested streams for commentary and screen sharing, a time limit (e.g., 1-2 hours), and selecting problems (~2000 rating) that aren't implementation-heavy to keep it engaging for viewers. Open to further suggestions to refine the idea.

  • @vishalmishra-ue4te
    @vishalmishra-ue4te 26 днів тому

    First time seeing dominator

  • @Flux-e4y
    @Flux-e4y 27 днів тому

    denominator to bhout neend mai lag raha hai😪

  • @devanshkhandelwal6722
    @devanshkhandelwal6722 27 днів тому

    Cool ❤

  • @accountaccount3840
    @accountaccount3840 27 днів тому

    Nice duel ...

  • @dampdigits.69
    @dampdigits.69 27 днів тому

    keep them coming!

  • @dampdigits.69
    @dampdigits.69 27 днів тому

    Wow! This is so cool. Always wanted to see how Dominater solves problems

  • @shivanshkasaudhan4130
    @shivanshkasaudhan4130 27 днів тому

    Damn, the elimination of n colour states was so good. Thanks.. Please keep uploading videos of such hand-picked good questions.

  • @vasuaggarwal2334
    @vasuaggarwal2334 27 днів тому

    Scrasse orz orz Dominator orz orz

  • @user-fm8jx
    @user-fm8jx 27 днів тому

    Cp is about to be chess....1v1

  • @aadarshdhiman7768
    @aadarshdhiman7768 28 днів тому

    This is amazing to see🎉❤

  • @rayyankhan8525
    @rayyankhan8525 28 днів тому

    wow this can be the future of cp🎉 looking forward to tourist vs jiangly 1v1 someday

  • @ishankdeep9823
    @ishankdeep9823 28 днів тому

    I guess vMix can help to stream both the participants screen at the same time

  • @ishankdeep9823
    @ishankdeep9823 28 днів тому

    Congrats 👏🎉

  • @studynewthings1727
    @studynewthings1727 28 днів тому

    Congrats to both the participants.

  • @5AM__Arpit
    @5AM__Arpit 28 днів тому

    Congo.. shreyan for day 1 and best of luck for day 2

  • @saadman-t3j
    @saadman-t3j Місяць тому

    ❤🎉

  • @DevGorasiya-z5e
    @DevGorasiya-z5e Місяць тому

    Rank of dhirubhai ambani institute of information technology