結果

問題 No.355 数当てゲーム(2)
ユーザー ebicochinealebicochineal
提出日時 2016-04-01 23:29:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 560 bytes
コンパイル時間 108 ms
コンパイル使用メモリ 10,980 KB
実行使用メモリ 24,444 KB
平均クエリ数 47.77
最終ジャッジ日時 2023-09-23 09:42:32
合計ジャッジ時間 8,441 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 AC 40 ms
23,420 KB
testcase_05 AC 40 ms
23,588 KB
testcase_06 RE -
testcase_07 AC 41 ms
23,756 KB
testcase_08 AC 40 ms
23,728 KB
testcase_09 AC 41 ms
24,240 KB
testcase_10 AC 41 ms
23,412 KB
testcase_11 RE -
testcase_12 AC 40 ms
23,556 KB
testcase_13 RE -
testcase_14 WA -
testcase_15 AC 42 ms
23,636 KB
testcase_16 AC 40 ms
24,048 KB
testcase_17 AC 40 ms
23,844 KB
testcase_18 WA -
testcase_19 RE -
testcase_20 RE -
testcase_21 AC 41 ms
23,520 KB
testcase_22 AC 42 ms
24,048 KB
testcase_23 AC 40 ms
24,228 KB
testcase_24 AC 41 ms
23,696 KB
testcase_25 AC 40 ms
23,652 KB
testcase_26 AC 40 ms
23,976 KB
testcase_27 RE -
testcase_28 AC 42 ms
23,684 KB
testcase_29 AC 41 ms
24,028 KB
testcase_30 AC 41 ms
23,368 KB
testcase_31 RE -
testcase_32 AC 40 ms
24,384 KB
testcase_33 AC 41 ms
23,620 KB
testcase_34 AC 40 ms
24,228 KB
testcase_35 WA -
testcase_36 AC 40 ms
23,448 KB
testcase_37 AC 41 ms
24,024 KB
testcase_38 AC 42 ms
23,704 KB
testcase_39 AC 41 ms
23,524 KB
testcase_40 AC 41 ms
24,300 KB
testcase_41 AC 40 ms
23,356 KB
testcase_42 RE -
testcase_43 RE -
testcase_44 RE -
testcase_45 WA -
testcase_46 RE -
testcase_47 RE -
testcase_48 AC 41 ms
24,300 KB
testcase_49 RE -
testcase_50 RE -
testcase_51 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

a = [0, 0, 0, 0]
b = [0, 1, 2, 3]
c = a[:]
n = 0
f = 1
for i in range(10):
    print(i%10, (i+3)%10, (i+6)%10, (i+9)%10)
    x, y = map(int, input().split())
    if x > 3 :
        f = 0
        break
    if x + y < 1:
        b = [i%10, (i+3)%10, (i+6)%10, (i+9)%10]
        break
a = b[:]
while f:
    a[n] = (a[n]+1)%10
    if a[n] in b:
        continue
    print(a[0], a[1], a[2], a[3])
    x, y = map(int, input().split())
    if x > 0:
        c[n] = a[n]
        n += 1
        a = b[:]
    if n > 3:
        print(c[0], c[1], c[2], c[3])
        break
0