結果
| 問題 |
No.355 数当てゲーム(2)
|
| コンテスト | |
| ユーザー |
No
|
| 提出日時 | 2017-05-23 03:06:23 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 501 bytes |
| コンパイル時間 | 92 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 27,760 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-07-16 13:47:06 |
| 合計ジャッジ時間 | 14,347 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 52 |
ソースコード
import itertools
import sys
li = []
for i in range(0,10):
print(str(i) + " " + str(i) + " " + str(i) + " " + str(i))
ss = input().split()
x = int(ss[0])
y = int(ss[1])
if x == 4:
sys.exit()
if x > 0:
for j in range(0,x + 1):
li.append(i)
a = list(itertools.permutations(range(4)))
for i in a:
print(str(li[i[0]]) + " " + str(li[i[1]]) + " " + str(li[i[2]]) + " " + str(li[i[3]]))
ss = input().split()
if ss[0] == "4":
sys.exit()
No