結果
| 問題 | No.396 クラス替え |
| コンテスト | |
| ユーザー |
maspy
|
| 提出日時 | 2020-01-29 19:16:34 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 1,000 ms |
| コード長 | 235 bytes |
| 記録 | |
| コンパイル時間 | 543 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,260 KB |
| 最終ジャッジ日時 | 2026-04-05 05:45:20 |
| 合計ジャッジ時間 | 3,013 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines N,M,X,Y = map(int,read().split()) answer = 'YES' if any(x % (M+M) == 0 for x in [X-Y, X+Y-1]) else 'NO' print(answer)
maspy