結果
| 問題 |
No.355 数当てゲーム(2)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-04-01 23:49:32 |
| 言語 | Python2 (2.7.18) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 459 bytes |
| コンパイル時間 | 100 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 25,616 KB |
| 平均クエリ数 | 94.60 |
| 最終ジャッジ日時 | 2024-07-16 09:26:25 |
| 合計ジャッジ時間 | 11,758 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 RE * 49 |
ソースコード
# -*- coding: utf-8 -*-
import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll
for Ns in it.combinations(range(10), 4):
print " ".join(map(str, Ns))
sys.stdout.flush()
X, Y = map(int, raw_input().split())
if Y == 4:
cand = Ns[:]
break
for Ns in it.permutations(cand, 4):
print " ".join(map(str, Ns))
sys.stdout.flush()
X, Y = map(int, raw_input().split())
if X == 4:
break