結果
問題 |
No.2731 Two Colors
|
ユーザー |
👑 |
提出日時 | 2024-04-20 01:08:53 |
言語 | D (dmd 2.109.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 310 bytes |
コンパイル時間 | 2,038 ms |
コンパイル使用メモリ | 93,056 KB |
実行使用メモリ | 35,072 KB |
最終ジャッジ日時 | 2024-10-11 19:57:03 |
合計ジャッジ時間 | 5,237 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 33 |
ソースコード
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]; } } }