結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-19 14:19:36 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 279 bytes |
| 記録 | |
| コンパイル時間 | 124 ms |
| コンパイル使用メモリ | 36,964 KB |
| 最終ジャッジ日時 | 2026-02-22 13:20:57 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 14 TLE * 1 |
ソースコード
#include <stdio.h>
#include <string.h>
void main(void) {
char str[999999] = "a";
scanf("%s",str);
int i = 0;
char checkChar = str[0];
printf("%c",str[0]);
while(i < (int)strlen(str)){
if(str[i] != checkChar){
printf("%c",str[i]);
}
checkChar = str[i];
i++;
}
}
Maeda