結果
問題 | No.355 数当てゲーム(2) |
ユーザー |
![]() |
提出日時 | 2016-04-01 22:31:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 349 bytes |
コンパイル時間 | 235 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 27,736 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2024-07-16 08:52:34 |
合計ジャッジ時間 | 12,386 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 52 |
ソースコード
import sysimport itertoolsans = []for i in range(10):print(i,i,i,i)sys.stdout.flush()x,y =map(int, input().split())if x == 4:exit()for j in range(x+y):ans.append(i)for a in itertools.permutations(ans):print(*a)sys.stdout.flush()x,y=map(int, input().split())if x==4:exit()