結果

問題 No.43 野球の試合
ユーザー tailstails
提出日時 2021-03-23 14:32:21
言語 cLay
(20240104-1)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 203 bytes
コンパイル時間 5,369 ms
コンパイル使用メモリ 216,368 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-19 02:17:53
合計ジャッジ時間 6,155 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 2 ms
4,376 KB
testcase_05 AC 1 ms
4,376 KB
testcase_06 AC 2 ms
4,380 KB
testcase_07 AC 12 ms
4,380 KB
testcase_08 AC 2 ms
4,376 KB
testcase_09 AC 2 ms
4,376 KB
testcase_10 AC 1 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define E(a)s[y][x]&3^a?d[y]+=x>y?s[x][y]=a:a,f(y,x+1),d[y]-=a:0
string s[6];int n,d[12],z=9;void f(ll y,ll x){x+=x==y,x%=n,y+=!x,y-n?E(0),E(3):(coordcomp(n,d,d+n),z<?=d[n]);}{rd(n,s(n));f(0,0);wt(z+1);}
0