結果
| 問題 |
No.355 数当てゲーム(2)
|
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2016-07-02 15:23:59 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 368 bytes |
| コンパイル時間 | 153 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,872 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-07-16 10:31:05 |
| 合計ジャッジ時間 | 13,052 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 52 |
ソースコード
import sys
n = []
for i in range(10):
print(i,i,i,i)
sys.stdout.flush()
x,y = map(int,input().split())
if (x >= 1 and y != 0) or(x == 4 and y == 0):
n.append(i)
m = [0] * 4
def dfs(s):
if s == 4:
print(' '.join(map(str,m)))
x,y = map(int,input().split())
if x == 4 and y == 0:
sys.exit(0)
return
for i in n:
m[s] = i
dfs(s + 1)
m[s] = 0
dfs(0)
tookunn_1213