コード例 #1
0
ファイル: test.py プロジェクト: johnnywsd/leetcode_python
 def test1(self):
     n = 32
     res = get_factors(n)
     print len(res)
     print res
     print_factors(n)
コード例 #2
0
ファイル: test.py プロジェクト: johnnywsd/leetcode_python
 def test3(self):
     n = 4
     res = get_factors(n)
     print len(res)
     print res
     print_factors(n)
コード例 #3
0
ファイル: test.py プロジェクト: johnnywsd/leetcode_python
 def test4(self):
     n = 9
     res = get_factors(n)
     print len(res)
     print res
     print_factors(n)
コード例 #4
0
ファイル: test.py プロジェクト: johnnywsd/leetcode_python
 def test2(self):
     n = 12
     res = get_factors(n)
     print len(res)
     print res
     print_factors(n)