結果
問題 |
No.1469 programing
|
ユーザー |
![]() |
提出日時 | 2023-06-19 14:49:45 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 144 ms / 3,000 ms |
コード長 | 238 bytes |
コンパイル時間 | 1,760 ms |
コンパイル使用メモリ | 193,148 KB |
最終ジャッジ日時 | 2025-02-14 22:55:17 |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; int main(){ char p='#'; string S; cin >> S; for (auto x : S){ if (p != x) cout << x; p = x; } cout << endl; return 0; }