結果
問題 | No.607 開通777年記念 |
ユーザー | ikd |
提出日時 | 2017-12-07 01:28:50 |
言語 | D (dmd 2.106.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 531 bytes |
コンパイル時間 | 589 ms |
コンパイル使用メモリ | 85,188 KB |
実行使用メモリ | 7,500 KB |
最終ジャッジ日時 | 2023-09-03 17:17:12 |
合計ジャッジ時間 | 1,783 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
ソースコード
void main(){ import std.stdio, std.string, std.conv, std.algorithm; int n, m; rd(n, m); auto a=new int[](n); while(m--){ auto d=readln.split.to!(int[]); foreach(i; 0..n){ a[i]+=d[i]; assert(a[i]>=0); } } writeln("0"); } void rd(T...)(ref T x){ import std.stdio, std.string, std.conv; auto l=readln.split; assert(l.length==x.length); foreach(i, ref e; x){ e=l[i].to!(typeof(e)); } } void wr(T...)(T x){ import std.stdio; foreach(e; x) stderr.write(e, " "); stderr.writeln; }