結果

問題 No.51 やる気の問題
ユーザー nohakai3nohakai3
提出日時 2022-10-23 08:21:12
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 110 bytes
コンパイル時間 848 ms
コンパイル使用メモリ 86,956 KB
実行使用メモリ 82,052 KB
最終ジャッジ日時 2023-09-14 20:45:16
合計ジャッジ時間 3,881 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,168 KB
testcase_01 AC 70 ms
71,440 KB
testcase_02 RE -
testcase_03 AC 73 ms
75,792 KB
testcase_04 AC 72 ms
75,724 KB
testcase_05 AC 78 ms
79,476 KB
testcase_06 AC 76 ms
78,108 KB
testcase_07 AC 76 ms
78,296 KB
testcase_08 AC 75 ms
76,712 KB
testcase_09 AC 80 ms
81,908 KB
testcase_10 AC 73 ms
76,964 KB
testcase_11 AC 75 ms
76,632 KB
testcase_12 AC 78 ms
78,540 KB
testcase_13 AC 77 ms
78,492 KB
testcase_14 AC 76 ms
77,908 KB
testcase_15 AC 78 ms
80,320 KB
testcase_16 AC 74 ms
76,332 KB
testcase_17 AC 74 ms
75,716 KB
testcase_18 AC 77 ms
81,136 KB
testcase_19 AC 78 ms
80,952 KB
testcase_20 AC 76 ms
78,084 KB
testcase_21 AC 73 ms
75,764 KB
testcase_22 AC 80 ms
82,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a=int(input())
b=int(input())
l=[]
for i in range(b,0,-1):
    a-=(a//(i*i))
    l.append(a)
print(l[-2])
    
0