結果

問題 No.51 やる気の問題
ユーザー gigurururugigurururu
提出日時 2014-11-07 13:54:57
言語 Python2
(2.7.18)
結果
AC  
実行時間 60 ms / 5,000 ms
コード長 84 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 6,652 KB
実行使用メモリ 8,976 KB
最終ジャッジ日時 2023-08-30 01:49:54
合計ジャッジ時間 2,052 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,988 KB
testcase_01 AC 11 ms
6,216 KB
testcase_02 AC 11 ms
6,176 KB
testcase_03 AC 13 ms
6,176 KB
testcase_04 AC 12 ms
6,144 KB
testcase_05 AC 45 ms
8,088 KB
testcase_06 AC 34 ms
7,296 KB
testcase_07 AC 34 ms
7,300 KB
testcase_08 AC 24 ms
6,652 KB
testcase_09 AC 60 ms
8,976 KB
testcase_10 AC 26 ms
6,752 KB
testcase_11 AC 24 ms
6,640 KB
testcase_12 AC 36 ms
7,428 KB
testcase_13 AC 38 ms
7,692 KB
testcase_14 AC 31 ms
7,032 KB
testcase_15 AC 50 ms
8,328 KB
testcase_16 AC 21 ms
6,568 KB
testcase_17 AC 15 ms
6,264 KB
testcase_18 AC 52 ms
8,416 KB
testcase_19 AC 53 ms
8,480 KB
testcase_20 AC 35 ms
7,352 KB
testcase_21 AC 14 ms
6,404 KB
testcase_22 AC 60 ms
8,864 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

w=input()
d=input()
for i in range(d-1):
    w-=int(float(w)/(d-i)**2)

print w
0