結果

問題 No.1671 Permutation Tour
ユーザー Pachicobue
提出日時 2021-09-04 16:50:38
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 60 bytes
コンパイル時間 360 ms
コンパイル使用メモリ 82,180 KB
実行使用メモリ 53,944 KB
最終ジャッジ日時 2024-12-21 05:55:35
合計ジャッジ時間 1,710 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
M = 1000000007
print((N*(N+1)*(M+1)/3) % M)
0