結果

問題 No.355 数当てゲーム(2)
ユーザー MitI_7MitI_7
提出日時 2016-04-12 20:54:24
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 55 ms / 2,000 ms
コード長 159 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 10,580 KB
実行使用メモリ 24,920 KB
平均クエリ数 9.10
最終ジャッジ日時 2023-09-23 23:48:08
合計ジャッジ時間 6,457 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
24,380 KB
testcase_01 AC 53 ms
24,184 KB
testcase_02 AC 52 ms
24,748 KB
testcase_03 AC 49 ms
24,736 KB
testcase_04 AC 54 ms
24,164 KB
testcase_05 AC 50 ms
24,548 KB
testcase_06 AC 55 ms
24,292 KB
testcase_07 AC 51 ms
24,688 KB
testcase_08 AC 52 ms
24,768 KB
testcase_09 AC 54 ms
24,440 KB
testcase_10 AC 50 ms
24,520 KB
testcase_11 AC 48 ms
24,368 KB
testcase_12 AC 49 ms
24,392 KB
testcase_13 AC 48 ms
24,472 KB
testcase_14 AC 46 ms
24,312 KB
testcase_15 AC 51 ms
24,436 KB
testcase_16 AC 50 ms
24,916 KB
testcase_17 AC 47 ms
24,116 KB
testcase_18 AC 45 ms
24,464 KB
testcase_19 AC 51 ms
24,428 KB
testcase_20 AC 50 ms
24,272 KB
testcase_21 AC 52 ms
24,628 KB
testcase_22 AC 48 ms
24,308 KB
testcase_23 AC 52 ms
24,256 KB
testcase_24 AC 52 ms
24,884 KB
testcase_25 AC 48 ms
24,388 KB
testcase_26 AC 49 ms
24,324 KB
testcase_27 AC 52 ms
24,488 KB
testcase_28 AC 50 ms
24,532 KB
testcase_29 AC 47 ms
24,920 KB
testcase_30 AC 51 ms
24,572 KB
testcase_31 AC 49 ms
24,792 KB
testcase_32 AC 51 ms
24,212 KB
testcase_33 AC 50 ms
24,416 KB
testcase_34 AC 50 ms
24,296 KB
testcase_35 AC 45 ms
24,308 KB
testcase_36 AC 50 ms
24,528 KB
testcase_37 AC 48 ms
24,836 KB
testcase_38 AC 50 ms
24,444 KB
testcase_39 AC 53 ms
24,508 KB
testcase_40 AC 47 ms
24,692 KB
testcase_41 AC 50 ms
24,276 KB
testcase_42 AC 51 ms
24,300 KB
testcase_43 AC 51 ms
24,724 KB
testcase_44 AC 46 ms
24,572 KB
testcase_45 AC 45 ms
24,360 KB
testcase_46 AC 49 ms
24,484 KB
testcase_47 AC 48 ms
24,468 KB
testcase_48 AC 49 ms
24,460 KB
testcase_49 AC 51 ms
24,852 KB
testcase_50 AC 51 ms
24,192 KB
testcase_51 AC 45 ms
24,500 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools as z;l=list(z.permutations("0123456789",4))
while z!=4:q=l[0];print(*q);z=int(input()[0]);l=[n for n in l if sum(i==j for i,j in zip(n,q))==z]
0