結果

問題 No.949 飲酒プログラミングコンテスト
ユーザー 👑 hos.lyrichos.lyric
提出日時 2019-12-12 00:59:27
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 170 bytes
コンパイル時間 4,754 ms
コンパイル使用メモリ 207,148 KB
実行使用メモリ 70,364 KB
最終ジャッジ日時 2023-09-19 00:33:03
合計ジャッジ時間 8,076 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 2 ms
4,380 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 2 ms
4,380 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 1 ms
4,376 KB
testcase_07 AC 2 ms
4,376 KB
testcase_08 AC 3 ms
4,784 KB
testcase_09 AC 3 ms
4,376 KB
testcase_10 AC 2 ms
4,484 KB
testcase_11 AC 53 ms
37,756 KB
testcase_12 AC 54 ms
39,664 KB
testcase_13 AC 46 ms
34,716 KB
testcase_14 AC 11 ms
9,912 KB
testcase_15 AC 30 ms
23,320 KB
testcase_16 AC 50 ms
36,660 KB
testcase_17 WA -
testcase_18 AC 97 ms
67,712 KB
testcase_19 AC 32 ms
20,944 KB
testcase_20 AC 10 ms
8,564 KB
testcase_21 AC 4 ms
4,584 KB
testcase_22 AC 6 ms
5,356 KB
testcase_23 AC 2 ms
4,376 KB
testcase_24 AC 66 ms
48,872 KB
testcase_25 AC 69 ms
50,184 KB
testcase_26 AC 69 ms
51,148 KB
testcase_27 AC 56 ms
39,764 KB
testcase_28 WA -
testcase_29 AC 44 ms
27,968 KB
testcase_30 AC 26 ms
11,304 KB
testcase_31 AC 18 ms
4,376 KB
testcase_32 AC 57 ms
41,732 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

{ll m=6010,n,a[m],b[m],d[m],f[m][m],s;rd(n,a(n+1),b(n+1),d(n));sortA(n,d);rrep(x,n+1)rrep(y,n+1){s=f[x+1][y+1];f[x][y+1]>?=s+=a[x]+b[y]>=d[s];f[x+1][y]>?=s;}wt(f[1][1]);}
0