結果
問題 |
No.264 じゃんけん
|
ユーザー |
![]() |
提出日時 | 2016-02-24 22:11:56 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 298 bytes |
コンパイル時間 | 755 ms |
コンパイル使用メモリ | 108,928 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-12 03:04:21 |
合計ジャッジ時間 | 1,447 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
import std.stdio, std.conv, std.string, std.range, std.math, std.bigint, std.algorithm; void main() { auto input = readln.split.to!(int[]); auto N = input[0], K = input[1]; ((N - K + 3) % 3).predSwitch(0, "Drew", 2, "Won", "Lost").writeln; }