結果
| 問題 |
No.1469 programing
|
| コンテスト | |
| ユーザー |
harurun
|
| 提出日時 | 2021-04-09 19:33:12 |
| 言語 | Bash (Bash 5.2.21) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 210 bytes |
| コンパイル時間 | 322 ms |
| コンパイル使用メモリ | 7,196 KB |
| 実行使用メモリ | 10,368 KB |
| 最終ジャッジ日時 | 2024-06-25 02:01:25 |
| 合計ジャッジ時間 | 2,101 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 15 |
ソースコード
#!/bin/sh
cat <<EOL > main.py
def main():
S=input()
ans=S[0]
for i in range(1,len(S)):
if S[i-1]!=S[i]:
ans+=S[i]
print(ans)
return
main()
EOL
python3 main.py
#AtCoderだとたぶん通る
harurun