Descriptionx を m で割った余りを求める最大で 100 万桁にもなる非常に大きな整数 x が与えられたとき、m で割った結果の余りを求める問題です。入力最初の行には整数 x (1 ≤ |x| ≤ 10^6) が与えられます。2 行目には整数 m (1 ≤ m ≤ 10^9) が与えられます。出力プログラムは の計算結果を出力してください。例InputOutput1451243211012454353452345418ConstraintsTime limit: 1.6 secondsMemory limit: 512 MBOutput limit: 1 MBTo check your solution you need to sign inSign in to continueSign in to your accountSign in with GoogleSign in with FacebookSign in with MicrosoftSign in with emailBy continuing, you agree to our Terms of Service and Privacy Policy.