結果
| 問題 | No.1469 programing |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-17 10:18:54 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 212 bytes |
| 記録 | |
| コンパイル時間 | 52 ms |
| コンパイル使用メモリ | 36,096 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-23 16:10:51 |
| 合計ジャッジ時間 | 7,044 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 15 |
ソースコード
#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