結果
| 問題 |
No.1469 programing
|
| コンテスト | |
| ユーザー |
kkkk97368086
|
| 提出日時 | 2021-12-07 21:51:29 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 122 ms / 3,000 ms |
| コード長 | 223 bytes |
| コンパイル時間 | 1,310 ms |
| コンパイル使用メモリ | 165,192 KB |
| 実行使用メモリ | 11,088 KB |
| 最終ジャッジ日時 | 2024-07-08 01:15:36 |
| 合計ジャッジ時間 | 2,888 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
string s;
cin >> s;
int l=s.size();
for(int i=0; i<l; i++){
if(s[i] == s[i+1]) continue;
cout << s[i];
}
printf("\n");
}
kkkk97368086