2015 / 08

This commit is contained in:
2024-11-10 17:54:07 +01:00
parent fd69220fe5
commit e0be09b6d3
7 changed files with 327 additions and 19 deletions

View File

@@ -31,12 +31,8 @@ def showSampleMode():
return
def getPath2Data(aocDay,aocYear):
return './'+str(aocYear)+'/day'+str(aocDay)+'/'
return './'+str(aocYear)+'/data/day'+str(aocDay)+'/'
def getFilename2Data(aocDay):
dataFilename = 'sample.day'+str(aocDay) if ( sampleMode ) else 'input.day'+str(aocDay)
return dataFilename
def readDataFile (path, filename):
data = ''
return data
return dataFilename