結果
| 問題 |
No.355 数当てゲーム(2)
|
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2016-07-02 15:16:20 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 353 bytes |
| コンパイル時間 | 158 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,736 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-07-16 10:30:50 |
| 合計ジャッジ時間 | 13,059 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 52 |
ソースコード
n = []
for i in range(10):
print(i,i,i,i)
x,y = map(int,input().split())
if x >= 1 and y != 4:
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:
return True
return False
for i in n:
m[s] = i
if(dfs(s + 1)):
return True
m[s] = 0
return False
dfs(0)
tookunn_1213