結果

問題 No.1083 余りの余り
ユーザー Kiri8128Kiri8128
提出日時 2020-06-20 01:13:37
言語 PyPy3
(7.3.15)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 255 bytes
コンパイル時間 1,945 ms
コンパイル使用メモリ 86,708 KB
実行使用メモリ 78,904 KB
最終ジャッジ日時 2023-09-16 16:32:24
合計ジャッジ時間 67,788 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1,883 ms
78,672 KB
testcase_01 AC 1,884 ms
78,144 KB
testcase_02 AC 1,883 ms
78,540 KB
testcase_03 AC 1,881 ms
78,440 KB
testcase_04 AC 1,882 ms
78,364 KB
testcase_05 AC 1,885 ms
78,484 KB
testcase_06 AC 1,884 ms
77,460 KB
testcase_07 AC 1,887 ms
78,264 KB
testcase_08 AC 1,883 ms
78,596 KB
testcase_09 AC 1,884 ms
78,400 KB
testcase_10 AC 1,883 ms
78,556 KB
testcase_11 AC 1,887 ms
78,304 KB
testcase_12 AC 1,885 ms
78,592 KB
testcase_13 AC 1,889 ms
78,588 KB
testcase_14 AC 1,885 ms
77,112 KB
testcase_15 AC 1,884 ms
77,112 KB
testcase_16 AC 1,883 ms
78,620 KB
testcase_17 AC 1,884 ms
78,460 KB
testcase_18 AC 1,884 ms
78,272 KB
testcase_19 AC 1,886 ms
78,444 KB
testcase_20 AC 1,886 ms
78,720 KB
testcase_21 AC 1,885 ms
78,656 KB
testcase_22 AC 1,884 ms
78,808 KB
testcase_23 AC 1,887 ms
78,700 KB
testcase_24 AC 1,885 ms
78,336 KB
testcase_25 AC 1,887 ms
78,580 KB
testcase_26 AC 1,884 ms
78,752 KB
testcase_27 AC 1,883 ms
78,272 KB
testcase_28 WA -
testcase_29 AC 1,884 ms
77,220 KB
testcase_30 AC 1,887 ms
78,796 KB
testcase_31 AC 1,886 ms
78,808 KB
testcase_32 AC 1,883 ms
78,684 KB
testcase_33 AC 1,886 ms
78,524 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from random import shuffle
from time import time
N, K = map(int, input().split())
A = [int(a) for a in input().split()]
sTime = time()
ma = 0
while time() - sTime < 1.8:
    shuffle(A)
    s = K
    for a in A:
        s %= a
    ma = max(ma, s)
print(ma)
0