結果

問題 No.487 2017 Calculation(2017の計算)
ユーザー togatogatogatoga
提出日時 2017-02-24 23:12:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 105 bytes
コンパイル時間 314 ms
コンパイル使用メモリ 87,040 KB
実行使用メモリ 71,656 KB
最終ジャッジ日時 2023-08-30 23:45:38
合計ジャッジ時間 2,269 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
71,424 KB
testcase_01 AC 68 ms
71,424 KB
testcase_02 AC 69 ms
71,492 KB
testcase_03 AC 68 ms
71,420 KB
testcase_04 AC 70 ms
71,520 KB
testcase_05 AC 69 ms
71,492 KB
testcase_06 AC 69 ms
71,364 KB
testcase_07 AC 68 ms
71,408 KB
testcase_08 AC 69 ms
71,412 KB
testcase_09 AC 69 ms
71,492 KB
testcase_10 AC 68 ms
71,156 KB
testcase_11 AC 68 ms
71,656 KB
testcase_12 AC 70 ms
71,324 KB
testcase_13 AC 69 ms
71,364 KB
testcase_14 AC 70 ms
71,152 KB
testcase_15 AC 69 ms
71,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

if __name__ == "__main__":
    M = int(input())
    X = (2017 + (2017 * 2017) ** 2017) % M
    print (X)
0