結果
| 問題 | No.3655 Adjacent Pairs in Triplets |
| コンテスト | |
| ユーザー |
Lyrica
|
| 提出日時 | 2026-08-30 14:54:45 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
AC
|
| 実行時間 | 98 ms / 2,000 ms |
| + 576µs | |
| コード長 | 93 bytes |
| 記録 | |
| コンパイル時間 | 265 ms |
| コンパイル使用メモリ | 96,044 KB |
| 実行使用メモリ | 86,016 KB |
| 最終ジャッジ日時 | 2026-08-30 14:54:52 |
| 合計ジャッジ時間 | 3,389 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 18 |
ソースコード
s = input() print(sum([len(set(s[t:t+3]))==2 and not s[t]==s[t+2] for t in range(len(s)-2)]))
Lyrica