結果

問題 No.1327 グラフの数え上げ
ユーザー gew1fw
提出日時 2025-06-12 20:29:10
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 148 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 81,728 KB
実行使用メモリ 100,468 KB
最終ジャッジ日時 2025-06-12 20:29:17
合計ジャッジ時間 1,860 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 1 WA * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD = 10**9 + 7

n_str = input().strip()
n_mod = 0
for c in n_str:
    n_mod = (n_mod * 10 + int(c)) % MOD

result = (n_mod - 1) % MOD
print(result)
0