No Idea!

Sort by

recency

|

1472 Discussions

|

  • + 0 comments

    This problem tells me that stop overthinking and go to sleep.

  • + 0 comments
    _, l, happy, sad, ans = input(), list(map(int, input().split())),set(map(int, input().split())), set(map(int, input().split())), 0
    for i in l:
        ans=ans+1 if i in happy else ans-1 if i in sad else ans
    print(ans)
    
  • + 0 comments

    how we resolve the problem timeout termination problem in the code Anyone could help

  • + 0 comments

    How can this problem exist with a medium level tag. Awarding 50 points for this is hackerrank being too generous

  • + 0 comments
    # Enter your code here. Read input from STDIN. Print output to STDOUT
    import collections
    if __name__ == '__main__':
        contain = list(map(int, input().split(' ')))
        alist = list(map(str, input().split(' ')))
        a = set(map(str, input().split(' ')))
        b = set(map(str, input().split(' ')))
        fs = collections.Counter(alist)
        ha = 0
        hb = 0
        for c in a:
            if c in fs.keys():
                ha = ha+ int(fs[c])
        for c in b:
            if c in fs.keys():
                hb = hb + int(fs[c])
        print(ha-hb)