예제 #1
0
 def test1(self):
     s = Solution()
     n = 3
     res = s.generateMatrix(n)
     print res
예제 #2
0
파일: test.py 프로젝트: zhlinh/leetcode
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from solution import Solution

n = 3
sol = Solution()
res = sol.generateMatrix(n)
print(res)