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