Google Code Jam 2020 Qualification Round Video Solutions

bro, i finished this all problems around 2 PM in afternoon and in other thread , u falsely claimed that i copied the code and submitted around 8 PM , please clarify it once before spitting sh*t from your mouth. :peace_symbol:

agar copy kiya hota toh 100 aate mere , 75 nahi …

i submitted at 10:34:00 hrs. from the start of round .

u cheated bro get lost :slight_smile:

I think there is no point saying who cheated or not because in next round automatically everything will be back to usual

2 Likes

my second case of 5th ques. was giving WA

yup !

my rank was 297 , later it slipped to 543


for x in range(int(input())):
    n1=int(input())
    time=[]
    for i in range(n1):
        temp=list(map(int,input().split()))
        temp.append(i)
        time.append(temp)
    time.sort()
    j1s=0
    j1e=0
    c1s=0
    c1e=0
    flag1=0
    result=[0]*n1
    for i in range(n1):
        f11=0
        f12=0
        if (time[i][0]>=j1s and time[i][0]<j1e) or (time[i][1]>j1s and time[i][1]<=j1e):
            f11=1
        if (time[i][0]>=c1s and time[i][0]<c1e) or (time[i][1]>c1s and time[i][1]<=c1e):
            f12=1
        if f11==0:
            result[time[i][2]]='J'
            j1s=time[i][0]
            j1e=time[i][1]
        elif f12==0:
            result[time[i][2]]='C'
            c1s=time[i][0]
            c1e=time[i][1]
        else:
            flag1=1
            break
    if flag1==0:
        answer="".join(result)
        print("Case #%d: %s"%(x+1,answer))
    else:
        print("Case #%d: IMPOSSIBLE"%(x+1))
        

when is tutorial for 5th problem coming, i got WA

when is tutorial for 5th problem coming, i got WA