結果

問題 No.1292 パタパタ三角形
ユーザー tailstails
提出日時 2020-11-21 01:32:17
言語 cLay
(20240104-1)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 109 bytes
コンパイル時間 2,177 ms
コンパイル使用メモリ 164,028 KB
実行使用メモリ 12,788 KB
最終ジャッジ日時 2023-09-19 01:52:13
合計ジャッジ時間 4,532 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,380 KB
testcase_01 AC 1 ms
4,384 KB
testcase_02 AC 2 ms
4,384 KB
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 1 ms
4,384 KB
testcase_05 AC 1 ms
4,380 KB
testcase_06 AC 2 ms
4,384 KB
testcase_07 AC 23 ms
5,268 KB
testcase_08 AC 23 ms
5,224 KB
testcase_09 AC 45 ms
12,308 KB
testcase_10 AC 52 ms
12,236 KB
testcase_11 AC 50 ms
12,164 KB
testcase_12 AC 59 ms
12,724 KB
testcase_13 AC 55 ms
12,788 KB
testcase_14 AC 4 ms
4,384 KB
testcase_15 AC 4 ms
4,384 KB
testcase_16 AC 4 ms
4,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

{ll a[]={0,1,MD},b,c;set<ll>z;for(;z.insert(b=a[0]+a[1]+a[2]),c=getchar()%5;)a[c]=b-2a[c%=3];wt(c=z.size());}
0