結果
問題 | No.203 ゴールデン・ウィーク(1) |
ユーザー |
|
提出日時 | 2016-09-16 11:34:37 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 365 bytes |
コンパイル時間 | 8,828 ms |
コンパイル使用メモリ | 305,772 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 04:27:00 |
合計ジャッジ時間 | 9,600 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 29 |
ソースコード
import std.algorithm, std.array, std.container, std.range, std.bitmanip; import std.numeric, std.math, std.bigint, std.random, core.bitop; import std.string, std.regex, std.conv, std.stdio, std.typecons; void main() { auto c1 = readln.chomp; auto c2 = readln.chomp; auto ci = c1 ~ c2; writeln(ci.splitter(regex(r"x+")).map!(a => a.length).reduce!(max)); }