結果
問題 | No.3002 多項式の割り算 〜easy〜 |
ユーザー |
![]() |
提出日時 | 2025-01-17 21:32:48 |
言語 | Go (1.23.4) |
結果 |
WA
|
実行時間 | - |
コード長 | 213 bytes |
コンパイル時間 | 17,330 ms |
コンパイル使用メモリ | 251,880 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2025-01-17 21:33:14 |
合計ジャッジ時間 | 18,146 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | WA * 22 |
ソースコード
package mainimport . "fmt"import . "math/big"func main() {var a,b int64Scan(&a,&b)n:=new(Int).Mul(NewInt(a),new(Int).Exp(NewInt(10),NewInt(b),nil))m:=n.Mod(n,NewInt(111)).Int64()Println(m/10,m%10)}