結果

問題 No.2723 Fortune-telling by Flowers
ユーザー 👑 p-adicp-adic
提出日時 2023-12-25 17:47:05
言語 cLay
(20240104-1)
結果
AC  
実行時間 10 ms / 2,000 ms
コード長 135 bytes
コンパイル時間 2,073 ms
コンパイル使用メモリ 175,048 KB
実行使用メモリ 8,512 KB
最終ジャッジ日時 2023-12-25 17:47:09
合計ジャッジ時間 2,914 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,616 KB
testcase_01 AC 3 ms
7,616 KB
testcase_02 AC 9 ms
8,000 KB
testcase_03 AC 6 ms
8,000 KB
testcase_04 AC 10 ms
8,384 KB
testcase_05 AC 5 ms
8,512 KB
testcase_06 AC 6 ms
8,512 KB
testcase_07 AC 8 ms
8,512 KB
testcase_08 AC 8 ms
8,512 KB
testcase_09 AC 10 ms
8,000 KB
testcase_10 AC 8 ms
8,000 KB
testcase_11 AC 8 ms
8,000 KB
testcase_12 AC 8 ms
8,128 KB
testcase_13 AC 8 ms
8,284 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@T;rep(T){ll@N,d=0,c=0;string@S;S+='-';rep(i,N)if(S[i]>74){if(c<75)c=S[i];if(S[i+1]<75){if(c==S[i])d+=c>75?1:-1;c=0;}}wt("KP"[d>0]);}
0