結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
suppy193
|
| 提出日時 | 2021-05-10 00:00:28 |
| 言語 | C90 (gcc 15.2.0) |
| 結果 |
AC
|
| 実行時間 | 23 ms / 3,000 ms |
| + 953µs | |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 52 ms |
| コンパイル使用メモリ | 35,200 KB |
| 実行使用メモリ | 6,912 KB |
| 最終ジャッジ日時 | 2026-07-25 02:43:54 |
| 合計ジャッジ時間 | 1,955 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
#include <stdio.h>
int main(void) {
char s[5000001];
int i;
scanf("%s", s);
i = 0;
while(s[i] != 0){
printf("%c", s[i]);
if(s[i] == s[i + 1]){
i += 2;
}
else {
i++;
}
}
printf("\n");
return 0;
}
suppy193