結果

問題 No.687 E869120 and Constructing Array 1
ユーザー hooooyaerthooooyaert
提出日時 2018-07-23 15:45:05
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 17 ms / 1,000 ms
コード長 105 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,560 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2023-08-28 09:59:36
合計ジャッジ時間 1,031 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,796 KB
testcase_01 AC 15 ms
7,820 KB
testcase_02 AC 15 ms
7,820 KB
testcase_03 AC 15 ms
7,796 KB
testcase_04 AC 15 ms
7,772 KB
testcase_05 AC 15 ms
7,720 KB
testcase_06 AC 15 ms
7,804 KB
testcase_07 AC 15 ms
7,796 KB
testcase_08 AC 15 ms
7,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
a = int(N/2)
b = N-a
while b > 10:
    a = random.randint(1,10)
    b = N - a
print(a,b)
0