結果
| 問題 |
No.396 クラス替え
|
| コンテスト | |
| ユーザー |
tsuchinaga
|
| 提出日時 | 2019-03-14 14:27:59 |
| 言語 | Go (1.23.4) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 207 bytes |
| コンパイル時間 | 11,769 ms |
| コンパイル使用メモリ | 229,632 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-26 10:11:31 |
| 合計ジャッジ時間 | 12,856 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 3 |
ソースコード
package main
import "fmt"
func main() {
var n, m, x, y int
_, _ = fmt.Scan(&n, &m, &x, &y)
if x%(2*m) == y%(2*m) || x%(2*m)+y%(2*m) == (2*m+1) {
fmt.Println("YES")
} else {
fmt.Println("NO")
}
}
tsuchinaga