結果

問題 No.485 方程式のお勉強
ユーザー Justinlam33
提出日時 2017-04-12 11:30:02
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 153 bytes
コンパイル時間 100 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-18 10:17:52
合計ジャッジ時間 1,112 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

str=input()
a,b=str.split()
a=int(a)
b=int(b)
if (a>b):
	if(a%b==0):print(int(a/b))
	else:print('NO')
else:
	if(b%a==0):print(int(b/a))
	else:print('NO')
0