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