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