結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-12 20:02:05 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 153 bytes |
| 記録 | |
| コンパイル時間 | 533 ms |
| コンパイル使用メモリ | 85,828 KB |
| 実行使用メモリ | 307,832 KB |
| 最終ジャッジ日時 | 2026-03-05 02:36:49 |
| 合計ジャッジ時間 | 16,740 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 TLE * 2 |
ソースコード
def n(s):
result = ''
for i in range(len(s)):
if i == 0 or s[i] != s[i-1]:
result += s[i]
return result
print(n(input()))