結果
問題 |
No.102 トランプを奪え
|
ユーザー |
|
提出日時 | 2017-01-27 16:06:23 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 226 bytes |
コンパイル時間 | 686 ms |
コンパイル使用メモリ | 105,512 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-12 06:39:24 |
合計ジャッジ時間 | 1,269 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 8 |
ソースコード
import std.algorithm, std.conv, std.range, std.stdio, std.string; import std.numeric; // gcd void main() { auto ni = readln.split.to!(int[]); auto r = ni.map!(n => n % 4).fold!"a ^ b"; writeln(r ? "Taro" : "Jiro"); }