- Ones/1002 . . . . 5 matches
def ones(aValue):
theOnes = "1"
onesValue = int(theOnes)
if isMultiplyOf(onesValue,aValue):
return len(theOnes)
theOnes += "1"
class OnesTest(unittest.TestCase):
self.assertEquals(3, ones(3))
self.assertEquals(6, ones(7))
self.assertEquals(9, ones(9))
self.assertEquals(12, ones(9901))
print ones(int(raw_input()))
- Ones . . . . 4 matches
=== About [Ones] ===
|| [문보창] || C++ || 30분 || [Ones/문보창] ||
|| [1002] || Python || 25분 || [Ones/1002] ||
|| [정진경] || C || ? || [Ones/정진경] ||
- ACM_ICPC/2011년스터디 . . . . 3 matches
* [http://poj.org/problem?id=2551 2551 Ones/송지원]
* [Ones/송지원]
* [Ones/정진경]
- Ones/문보창 . . . . 2 matches
// no10127 - Ones
[Ones] [문보창]
- AOI/2004 . . . . 1 match
|| [Ones] || . || . || O || . || . || . || . || . ||
Found 5 matching pages out of 7555 total pages (5000 pages are searched)
You can also click here to search title.