結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-19 14:19:16 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 272 bytes |
| 記録 | |
| コンパイル時間 | 125 ms |
| コンパイル使用メモリ | 37,092 KB |
| 最終ジャッジ日時 | 2026-02-22 13:20:47 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | TLE * 1 -- * 2 |
| other | -- * 15 |
ソースコード
#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];
}
}
Maeda