結果
| 問題 |
No.2894 Monotonic Intervals
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2024-09-11 00:33:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 134 ms / 2,000 ms |
| コード長 | 90 bytes |
| コンパイル時間 | 303 ms |
| コンパイル使用メモリ | 82,792 KB |
| 実行使用メモリ | 110,608 KB |
| 最終ジャッジ日時 | 2024-09-11 00:33:52 |
| 合計ジャッジ時間 | 2,664 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 14 |
ソースコード
from itertools import groupby N = int(input()) S = input() print(len(list(groupby(S))))