結果
| 問題 |
No.1469 programing
|
| コンテスト | |
| ユーザー |
🍮かんプリン
|
| 提出日時 | 2021-04-11 15:15:41 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 320 bytes |
| コンパイル時間 | 1,519 ms |
| コンパイル使用メモリ | 167,176 KB |
| 実行使用メモリ | 12,956 KB |
| 最終ジャッジ日時 | 2024-06-27 10:17:28 |
| 合計ジャッジ時間 | 2,593 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 15 |
ソースコード
/**
* @FileName a.cpp
* @Author kanpurin
* @Created 2021.04.11 15:15:32
**/
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
int main() {
string s;cin >> s;
for (int i = 0; i < s.size(); i++) {
if (i>0 && s[i-1]!=s[i]) cout << s[i];
}
cout << endl;
return 0;
}
🍮かんプリン