結果
問題 |
No.2334 Distinct Cards
|
ユーザー |
|
提出日時 | 2023-07-02 13:22:53 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 131 bytes |
コンパイル時間 | 251 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 16,828 KB |
最終ジャッジ日時 | 2024-07-16 09:13:46 |
合計ジャッジ時間 | 2,511 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 22 |
ソースコード
n, k = list(map(int, input().split())) s = int(input().split()) count = 1 for i in n: if s[i] != s[i+1]: count += 1 print(count)