LoginSignup
0
1

More than 3 years have passed since last update.

はじめに

前回
11日目です。

#11

問題

考えたこと
Xは最大で$10^{27}$になるので、うまくmodを使って計算しました。

a, b, c = map(int,input().split())
mod = 10**9+7
print(a*b%mod*c%mod)

コード

まとめ

今日は2時間くらい麻雀してたので疲れた。明日のAGCは、Aだけでも解きたい!

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1