Sort by

recency

|

6 Discussions

|

  • + 0 comments

    Is it a good idea to use it for my teslaquery blog, I have been running a startup related to tesla and i'm asking for it. Thanks

  • + 0 comments

    Thanks for giving this code as it has helped me alot in scaling the covers of cars that I am providing in my website nationalcarcovers.com . National Car Covers is go-to destination for high-quality, affordable car protection. I also suggesst to invest in a cover today and give your car the care it deserves. Don't let weather and environmental factors take a toll on your vehicle – trust National Car Covers to keep it looking and performing its best.

  • + 1 comment

    Python3 solution

    # Enter your code here. Read input from STDIN. Print output to STDOUT
    c, m, n = map(int,input().split())
    if n == 1:
        print("0")
    else:
        arr = [0 for i in range(2 * n + 2)]
        arr[0] = 0
        arr[1] = c
        l = []
        for i in range(2, 2 * n + 2):
            arr[i] = (arr[i - 1] + arr[i - 2]) % m
        for i in range(2, 2 * n - 2, 2):
            temp = (arr[i] * arr[i + 2] + arr[i + 1] * arr[i + 3]) % m
            l.append(temp)
            temp=(arr[i] * arr[i + 4] + arr[i + 1] * arr[i + 5]) % m
            l.append(temp)
        temp = (arr[2 * n - 2] * arr[2 * n] + arr[2 * n - 1] * arr[2 * n + 1]) % m
        l.append(temp)
        l = set(l)
        print(len(l))
    
  • + 0 comments

    Our game is a wonderful example of beauty. pgslot

  • + 0 comments

    Dot product represents an angular relationship between two vectors or we can say One of the common applications of the scalar product is to find the angle between two vectors when they are expressed in cartesian form. The dot product is a function diamonds rings near me that can be applied to two equal dimension vectors and is sometimes referred to as the scalar or inner product by people of lower moral fiber.