結果

問題 No.2731 Two Colors
ユーザー 👑 hos.lyrichos.lyric
提出日時 2024-04-20 01:08:53
言語 D
(dmd 2.106.1)
結果
RE  
実行時間 -
コード長 310 bytes
コンパイル時間 695 ms
コンパイル使用メモリ 95,672 KB
実行使用メモリ 8,404 KB
最終ジャッジ日時 2024-04-20 01:09:01
合計ジャッジ時間 6,498 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 WA -
testcase_18 WA -
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
testcase_23 RE -
testcase_24 RE -
testcase_25 WA -
testcase_26 RE -
testcase_27 RE -
testcase_28 RE -
testcase_29 WA -
testcase_30 RE -
testcase_31 RE -
testcase_32 RE -
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.conv, std.stdio, std.string;

void main() {
  string[] tokens = readln.chomp.split;
  const M = tokens[0].to!int;
  const N = tokens[1].to!int;
  auto A = new string[][](M, N);
  foreach (x; 0 .. M) {
    tokens = readln.chomp.split;
    foreach (y; 0 .. N) {
      A[x][y] = tokens[y];
    }
  }
}
0