結果
| 問題 |
No.1469 programing
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-11 01:05:40 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 126 bytes |
| コンパイル時間 | 195 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 277,204 KB |
| 最終ジャッジ日時 | 2024-06-26 21:50:36 |
| 合計ジャッジ時間 | 6,811 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 8 TLE * 1 -- * 6 |
ソースコード
S = str(input())
N = len(S)
ans = S[0]
for i in range(1,N):
if S[i] == S[i-1]:
continue
ans += S[i]
print(ans)