Блог пользователя satyaki3794

Автор satyaki3794, история, 8 лет назад, По-английски

Throughout the year, Google Code Jam hosts online Kickstart rounds to give participants the opportunity to develop their coding skills, get acquainted with Code Jam’s competition arena, and get a glimpse into the programming skills needed for a technical career at Google.

Each Kickstart round gives participants 3 hours to solve challenging, algorithmic problems developed by Google engineers. Participating is a fun way to grow your coding skills—and potentially explore opportunities at Google.

Inviting you to solve some fun and interesting problems on Sunday, August 26, 2018 05:00 UTC.

Dashboard can be accessed here during the contest. Problem analysis will be published soon after the contest.

  • Проголосовать: нравится
  • +22
  • Проголосовать: не нравится

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +6 Проголосовать: не нравится

Starts in 15 mins

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +58 Проголосовать: не нравится

WTF did just happen? I saw the first problem. Coded it. Went to submit it. And now it says the contest begins in 7 minutes?

»
8 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

The contest has been delayed by 15 mins due to some technical issues.

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +18 Проголосовать: не нравится

Participants who read all of the problems just after the contest start win.

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

Is there a reason all problems have the same scoring? I don't think they are the same level of difficulty.

»
8 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

How to solve 2nd subtask of problem B?

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

How to solve a problem B with large input ?

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +16 Проголосовать: не нравится

When will the results be out? Today ranklist wasn't working properly during the contest either :(

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +2 Проголосовать: не нравится

Was B (large) DP with bitmask Problem ?

»
8 лет назад, скрыть # |
Rev. 5  
Проголосовать: нравится +8 Проголосовать: не нравится

My solution to B large: https://pastebin.com/v1yEZSVz

DpWays[X] counts the ways we can get X complains. If we are at the ith position and we use want to use 0 then we look at position i-1 and we will add how many complains we will get in ith position if we use 0(so we will add the number of ones of all strings in that position). So if at ith position using 0 we get A complains then at ith position if we will use 0 and we want to count the ways we can get X complains(until position i) we will calculate it as dpWays[X][i] += dp[X — A][i — 1]. Similar with the 1.

After that we just delete the complains we will get if we use strings from the forbidden set.

Answer will be the smallest X that has at least one way to happen.

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +15 Проголосовать: не нравится

How to solve C ?

  • »
    »
    8 лет назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +5 Проголосовать: не нравится

    I had a solution with 2-D sparse BIT (Binary Indexed Tree). Basically first calculate number of permutations such that Bahu at least 2 values greater than the corresponding values for Bala. It can be done simply by using a BIT. Then subtract 2 times the number of permutations where all three values of Bahu are greater than Bala. This can be done using 2-D sparse bit. Any solution easier than this?

  • »
    »
    8 лет назад, скрыть # ^ |
    Rev. 2  
    Проголосовать: нравится +8 Проголосовать: не нравится

    Let Ai (Bi) be the sum of Bahu's (Bala's) cards in the i-th battlefield. If we fix A1 & B1, the rest part can be calculated by two pointers. Complexity is comb(3n,n)^2 comb(2n,n) and this is a bit larger, so I had to implement carefully(e.g. It is ok to assume a1 is always in the 1st battlefield. It is trivial when A1<=B1 && A2+A3<B2+b3+2 or A1>B1 && A2+A3>B2+B3.)

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +13 Проголосовать: не нравится

Is there some problem with the scoreboard?

All Scores shows different rank whereas friends shows different rank.

»
8 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Upto which rank does google call for internships in kickstart?

»
8 лет назад, скрыть # |
 
Проголосовать: нравится +15 Проголосовать: не нравится

Today morning around 10 mins before contest start I had this feeling that Kickstart is happening very properly compared to last year wrt glitches in website, leaderboard, reminder emails and all.

Then today's contest happened.

  • »
    »
    8 лет назад, скрыть # ^ |
     
    Проголосовать: нравится 0 Проголосовать: не нравится

    Yeah, true.

    Analysis isn't out yet, so probably they're fixing up the things for now. The scoreboard and dashboard shows different statistics as well.

    Do you have any clue why all questions carried equal scoring? And round was only for 60 pts instead of 100. So, other than technical glitches they were some other issues too?

»
8 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I solved B large by first constructing the best solution by looking at each ingredient.Then flipped bits corresponding to each subset in ascending order of cost of flipping, where cost of flipping is change in the cost before and after flipping. Since the number of disallowed configurations is almost M, this is feasible.Ranking the subsets wrt cost can be done by maintaining a min heap and updating with next largest element.

»
8 лет назад, скрыть # |
Rev. 5  
Проголосовать: нравится +15 Проголосовать: не нравится

Serious scoreboard glitch- When I access the scoreboard from my account, then it shows that I have attained 22nd position when the one right below me has less penalty, and moreover, there are two people in 22 position from my account!

What's more surprising is, when the scoreboard is accessed from incognito mode or some other account, my username/rank doesn't show up at all, like I haven't even participated in the contest! And not just me, I've definitely found some other accounts with the same problem.

Even all scores and closest competitors show different results from my side.

I think this issue is serious, and must be fixed. I definitely do want a job at Google, and hope this does not hamper it in any way :(

EDIT-Resolved :D

»
8 лет назад, скрыть # |
Rev. 3  
Проголосовать: нравится 0 Проголосовать: не нравится

From what I am seeing, half of the participants are missing from the standings-that is, contestants who have obtained which would have been in even pages had the standings been complete. Another way of wording is it-pages 2, 4, 6, etc are missing from standings.

When will this issue be resolved?

Edit-Resolved :)

»
8 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Scoreboard is fixed now. Really apologize for all the inconvenience. Hope you enjoyed the problems atleast (amidst all the frustration). I assure all of you folks that such kind of experience will not repeat in the future.

»
8 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

My rank is 250. Any chance to land an interview ?