結果

問題 No.414 衝動
ユーザー rpy3cpprpy3cpp
提出日時 2016-08-26 22:24:13
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 187 bytes
コンパイル時間 298 ms
コンパイル使用メモリ 10,432 KB
実行使用メモリ 7,912 KB
最終ジャッジ日時 2023-08-08 05:17:15
合計ジャッジ時間 3,928 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,820 KB
testcase_01 AC 15 ms
7,716 KB
testcase_02 AC 16 ms
7,820 KB
testcase_03 AC 419 ms
7,800 KB
testcase_04 AC 15 ms
7,712 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 376 ms
7,812 KB
testcase_10 WA -
testcase_11 AC 19 ms
7,772 KB
testcase_12 AC 15 ms
7,872 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

M = int(input())
for n in range(2, M):
    m, r = divmod(M, n)
    if r == 0:
        print('{} {}'.format(n, m))
        break
    if n > m:
        print('1 ()'.format(M))
        break
0