結果
問題 |
No.355 数当てゲーム(2)
|
ユーザー |
|
提出日時 | 2016-04-01 23:34:03 |
言語 | Python2 (2.7.18) |
結果 |
RE
|
実行時間 | - |
コード長 | 434 bytes |
コンパイル時間 | 358 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 25,616 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2024-07-16 09:23:11 |
合計ジャッジ時間 | 12,202 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 52 |
ソースコード
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll cand = [] for i in xrange(10): print i, i, i, i sys.stdout.flush() X, Y = map(int, raw_input().split()) for j in xrange(Y): cand.append(i) 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