Skip to content

Instantly share code, notes, and snippets.

@qryxip
Created December 26, 2020 09:17
Show Gist options
  • Save qryxip/ae7ccc41c879ffe705f4beded9a2c685 to your computer and use it in GitHub Desktop.
Save qryxip/ae7ccc41c879ffe705f4beded9a2c685 to your computer and use it in GitHub Desktop.

AtCoderのDropboxの全ファイル名を次のスクリプトで調べた。

dropbox-shared-link-contents.py - Gist

  • パターン1。大体はこれ。

    ├── in
    │   ├── 01.txt
    │   └── 02.txt
    └── out
        ├── 01.txt
        └── 02.txt
    
  • パターン2。このパターンは10個くらいあり、幸いにしてファイル名の対応が取れないものは無い。

    ├── 01.txt
    ├── 02.txt
    └── out
        ├── 01.txt
        └── 02.txt
    
  • パターン3。多分入力のみ。

    ├── 01.txt
    └── 02.txt
    

明らかに「ゴミファイル」と呼べるのはこれくらい。

  • 拡張子が"", ".txt", ".in", ".out"以外のもの (".cpp"とか".py"とか)
  • 新しいテキスト ドキュメント.txt
  • ... (... の競合コピー yyyy-mm-dd).$extension
  • a.out
  • etc (ディレクトリ)
  • in (ディレクトリ in in ディレクトリ)

「ゴミファイル」を除くと"in"と"out"で対応が取れないのは以下の通り。これを見るにARC058_ABC042CABC126Dだけ対応して他は無視しちゃってよさそうに思える。

ARC058_ABC042 C in []
ARC058_ABC042 C out ['sample_01', 'sample_02', 'sample_03']
ARC058_ABC042 D in ['subtask2_11', 'subtask2_12', 'subtask2_13', 'subtask2_14', 'subtask2_15', 'subtask2_16', 'subtask2_17', 'subtask2_18', 'subtask2_19', 'subtask2_20']
ARC058_ABC042 D out []
ARC065 D in []
ARC065 D out ['subtask1_15', 'subtask1_16', 'subtask1_17', 'subtask1_18', 'subtask1_19', 'subtask1_20', 'subtask1_21', 'subtask1_22', 'subtask1_23']
AGC007 F in []
AGC007 F out ['059']
AGC010 E in ['in36', 'in37', 'in38', 'in39', 'in40', 'in41', 'in42', 'in43', 'in44', 'in45']
AGC010 E out []
ARC072 E in []
ARC072 E out ['00-03', '01-11', '01-12', '01-13', '01-14', '01-15', '01-16', '01-17', '01-18', '01-19']
ARC076 E in []
ARC076 E out ['31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42']
ARC078 A in []
ARC078 A out ['08', '09', '10']
ABC110 B in []
ABC110 B out ['max6']
AGC031 A in ['01-00']
AGC031 A out []
ABC126 D in ['testcase_09']
ABC126 D out ['testcase_9']
ABC148 C in []
ABC148 C out ['01-small-04', '01-small-05', '02-large-04', '02-large-05', '03-max-01', '03-max-02', '10-handmade-01']
abc183 C in []
abc183 C out ['hand_01', 'hand_02', 'hand_03', 'hand_04', 'hand_05']
abc183 F in []
abc183 F out ['Nsmall_01', 'Nsmall_02', 'Nsmall_03', 'Nsmall_04']
Input only: ('2020_hitachi', 'F')
Input only: ('2020_hitachi', 'B')
Input only: ('2020_hitachi', 'A')
Input only: ('2020_hitachi', 'E')
Input only: ('2020_hitachi', 'D')
Input only: ('2020_hitachi', 'C')
Input only: ('MUJIN2017', 'E')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment