結果
問題 |
No.8002 テストケース
|
ユーザー |
|
提出日時 | 2015-02-26 00:25:15 |
言語 | PyPy2 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 500 bytes |
コンパイル時間 | 244 ms |
コンパイル使用メモリ | 76,804 KB |
実行使用メモリ | 94,468 KB |
最終ジャッジ日時 | 2024-06-23 23:37:17 |
合計ジャッジ時間 | 7,961 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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]])])