結果

問題 No.687 E869120 and Constructing Array 1
ユーザー Haruki0804SHaruki0804S
提出日時 2018-10-22 12:05:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 20 ms / 1,000 ms
コード長 136 bytes
コンパイル時間 109 ms
コンパイル使用メモリ 10,560 KB
実行使用メモリ 8,836 KB
最終ジャッジ日時 2023-08-12 05:56:40
合計ジャッジ時間 1,059 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
8,680 KB
testcase_01 AC 18 ms
8,676 KB
testcase_02 AC 18 ms
8,736 KB
testcase_03 AC 18 ms
8,836 KB
testcase_04 AC 17 ms
8,748 KB
testcase_05 AC 18 ms
8,680 KB
testcase_06 AC 18 ms
8,824 KB
testcase_07 AC 18 ms
8,828 KB
testcase_08 AC 18 ms
8,696 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import random
N=int(input())
b=0
while True:
    a=random.randrange(1,(min(N,11)))
    b=N-a

    if(b < 11):
        break
print(a,b)

0