結果

問題 No.1292 パタパタ三角形
ユーザー googol_S0googol_S0
提出日時 2020-11-20 21:25:43
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 274 ms
コンパイル使用メモリ 87,064 KB
実行使用メモリ 131,068 KB
最終ジャッジ日時 2023-09-30 18:56:05
合計ジャッジ時間 4,561 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
75,876 KB
testcase_01 AC 70 ms
71,272 KB
testcase_02 AC 71 ms
71,244 KB
testcase_03 AC 71 ms
71,372 KB
testcase_04 AC 69 ms
71,012 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 TLE -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input()
P=set([(0,0,0)])
a,b,c=0,0,0
for i in range(len(S)):
  exec(S[i]+'+=pow(-1,'+str(i)+')')
  P.add((a,b,c))
print(len(P))
0