結果

問題 No.485 方程式のお勉強
ユーザー takeya_okinotakeya_okino
提出日時 2017-07-12 22:36:00
言語 PHP
(8.3.4)
結果
AC  
実行時間 45 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 77 ms
コンパイル使用メモリ 32,272 KB
実行使用メモリ 31,608 KB
最終ジャッジ日時 2024-04-16 17:53:40
合計ジャッジ時間 1,500 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
31,316 KB
testcase_01 AC 41 ms
31,476 KB
testcase_02 AC 41 ms
31,108 KB
testcase_03 AC 41 ms
31,324 KB
testcase_04 AC 45 ms
31,488 KB
testcase_05 AC 41 ms
31,076 KB
testcase_06 AC 41 ms
31,236 KB
testcase_07 AC 41 ms
31,180 KB
testcase_08 AC 40 ms
31,080 KB
testcase_09 AC 40 ms
31,008 KB
testcase_10 AC 41 ms
31,156 KB
testcase_11 AC 41 ms
31,524 KB
testcase_12 AC 41 ms
31,332 KB
testcase_13 AC 41 ms
31,608 KB
testcase_14 AC 41 ms
31,400 KB
testcase_15 AC 40 ms
31,020 KB
testcase_16 AC 40 ms
31,164 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$args=explode(" ", trim(fgets(STDIN)));

$a=$args[0];
$b=$args[1];

$ans='NO';
if(($b % $a) == 0) $ans=$b/$a;
print($ans);
?>
0