Mots-clés » D.P.

DP BBM Bergerak

Untuk membuat DP BBM Bergerak ialah dengan Aplikasi GIF maker yg cukup banyak macamnya dan banyak pula yg bisa dijalankan secara online dengan gratis. Aplikasi2 tersebut pada dasarnya menggabungkan gambar2 yg Anda pilih, mengubahnya menjadi format GIF sehingga menjadi animasi. 162 mots de plus

Animasi

SPOJ - Tower Of Babylon (BABTWR.cpp)

The approach used to solve this problem is quite naive still for no good reason the implementation gets me high every time :D

Problem Link – Tower Of Babylon (SPOJ)

DP

DP "Last Words"

Prompt: You have the chance to write one last post on your blog before you stop blogging forever. Write it.

This prompt is an old one, so I won’t link it, but I did keep it because I thought I might do it at some future time. 437 mots de plus

Life

Yfirvofandi Hremmingar í boði GasMask Man

Welcome to the age of ice, where my apostles’ at?

Það var heldur betur kominn tími til að henda inn tóndæmi eftir GasMask Man en hann er að vinna að útgáfu efnis í samstarfi við …

145 mots de plus

The Age Of Dragons

Body – Maitreya Mesh Body – Lara
Hands – Maitreya Mesh Body – Lara
Shape – Maitreya Mesh Body Lara – Shape 4
Eyes – .:SF:. 54 mots de plus

Maximal Square

dp = min(dp, dp, dp) + 1

当自己这个点是1的时候,看左上,左,上3个点分别是否已经组成方块,然后本点必然可以和其中最小的方块组成一个更大的方块。画出来就可以看出来了。

    def maximalSquare(self, matrix):
        """
        :type matrix: List]
        :rtype: int
        """
        n_row = len(matrix)
        if not n_row: return 0
        n_col = len(matrix[0])
        if not n_col: return 0
        dp = [ for y in range(n_row+1)]
        result = 0
        for row in range(n_row):
            for col in range(n_col):
                if matrix == "0": continue
                dp = min(dp, dp, dp) + 1
                result = max(result, dp)
        return pow(result, 2) 28 mots de plus