結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
コンテスト
ユーザー ID 21712
提出日時 2024-10-23 22:00:44
言語 Go
(1.27.0 + ACL)
コンパイル:
/usr/bin/go_c
実行:
./Main
結果
AC  
実行時間 1 ms / 2,000 ms
+ 230µs
コード長 262 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 12,210 ms
コンパイル使用メモリ 275,880 KB
実行使用メモリ 6,528 KB
最終ジャッジ日時 2026-09-19 03:54:02
合計ジャッジ時間 13,774 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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")
	}
	
}
0