結果

問題 No.687 E869120 and Constructing Array 1
ユーザー kamomekamome
提出日時 2019-07-28 17:13:45
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 1,000 ms
コード長 167 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 10,488 KB
実行使用メモリ 8,780 KB
最終ジャッジ日時 2023-09-15 11:31:05
合計ジャッジ時間 1,204 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
8,696 KB
testcase_01 AC 18 ms
8,780 KB
testcase_02 AC 19 ms
8,680 KB
testcase_03 AC 19 ms
8,668 KB
testcase_04 AC 19 ms
8,708 KB
testcase_05 AC 19 ms
8,680 KB
testcase_06 AC 18 ms
8,716 KB
testcase_07 AC 18 ms
8,664 KB
testcase_08 AC 18 ms
8,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding:utf-8
import random
N=int(input())
while True:
    a1=random.randint(1,10)
    a2=N-a1
    if (0<a1<11) and (0<a2<11):
        break
print(str(a1)+" "+str(a2))
0