結果

問題 No.396 クラス替え
ユーザー hogeover30hogeover30
提出日時 2016-09-21 03:33:40
言語 Perl
(5.38.2)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 57 bytes
コンパイル時間 202 ms
コンパイル使用メモリ 6,016 KB
実行使用メモリ 6,016 KB
最終ジャッジ日時 2024-04-28 17:21:02
合計ジャッジ時間 1,079 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
6,016 KB
testcase_01 AC 9 ms
6,016 KB
testcase_02 AC 8 ms
5,888 KB
testcase_03 AC 8 ms
5,888 KB
testcase_04 AC 8 ms
6,016 KB
testcase_05 AC 7 ms
5,888 KB
testcase_06 AC 8 ms
5,888 KB
testcase_07 AC 8 ms
6,016 KB
testcase_08 AC 7 ms
5,888 KB
testcase_09 AC 8 ms
5,888 KB
testcase_10 AC 7 ms
5,888 KB
testcase_11 AC 7 ms
6,016 KB
testcase_12 AC 7 ms
5,888 KB
testcase_13 AC 8 ms
5,888 KB
testcase_14 AC 8 ms
6,016 KB
testcase_15 AC 8 ms
5,888 KB
testcase_16 AC 8 ms
6,016 KB
testcase_17 AC 7 ms
5,888 KB
testcase_18 AC 7 ms
6,016 KB
testcase_19 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

($n,$m,$x,$y)=glob<>.<>;print+($x-$y)*($x+$y-1)%$m?NO:YES
0