結果
| 問題 |
No.795 Restrictions!!!!!!!!!!!!!!
|
| コンテスト | |
| ユーザー |
ID 21712
|
| 提出日時 | 2024-10-23 22:00:44 |
| 言語 | Go (1.23.4) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 262 bytes |
| コンパイル時間 | 13,984 ms |
| コンパイル使用メモリ | 241,340 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-23 22:01:00 |
| 合計ジャッジ時間 | 14,972 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
package main
import . "fmt"
import . "math/big"
func main() {
n:=new(Int)
m:=new(Int)
Scan(&n,&m)
n.Mul(n,NewInt(100))
m.Mul(m,NewInt(10))
n.Add(n,m)
m.Div(n,NewInt(2)).Mul(m,NewInt(2))
if n.Cmp(m)==0 {
Println("Yes")
} else {
Println("No")
}
}
ID 21712