結果
| 問題 | 
                            No.8002 テストケース
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2015-02-26 00:22:00 | 
| 言語 | Python2  (2.7.18)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 500 bytes | 
| コンパイル時間 | 197 ms | 
| コンパイル使用メモリ | 7,040 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-06-23 23:35:23 | 
| 合計ジャッジ時間 | 2,683 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | RE * 24 | 
ソースコード
import zipfile,urllib2,tempfile,sys
data=[[] for _ in range(20)]
for i in range(1,21):
    response = urllib2.urlopen('http://yukicoder.me/problems/no/%d/testcase.zip'%i)
    temp = tempfile.TemporaryFile()
    temp.write(response.read())
    temp.seek(0)
    with zipfile.ZipFile(temp) as zf:
        for zi in zf.infolist():
            data[i-1].append(zf.read(zi)[:20])
    temp.close()
n = sys.stdin.read()[:20]
print " ".join([str(i) for i in range(1,21) if any([n==j for j in data[i-1]])])