結果
問題 | No.3019 YNeos |
ユーザー |
![]() |
提出日時 | 2025-02-14 21:26:14 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 403 bytes |
コンパイル時間 | 563 ms |
コンパイル使用メモリ | 64,684 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-02-14 21:26:30 |
合計ジャッジ時間 | 2,104 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 41 |
ソースコード
import std.algorithm, std.array, std.bigint, std.conv, std.stdio, std.typecons, std.range;void main() {auto x = readln[0..$-1];auto y = readln[0..$-1];if (x.length == y.length) {foreach (i; 0 .. y.length) {write(x[i], y[i]);}writeln;}else if (x.length == y.length+1) {foreach (i; 0 .. y.length) {write(x[i], y[i]);}write(x[$-1]);writeln;}else writeln("?");}