結果
| 問題 | No.739 大事なことなので2度言います |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-28 18:47:22 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 129 bytes |
| コンパイル時間 | 917 ms |
| コンパイル使用メモリ | 82,064 KB |
| 実行使用メモリ | 51,840 KB |
| 最終ジャッジ日時 | 2024-12-29 21:33:01 |
| 合計ジャッジ時間 | 2,005 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 7 |
ソースコード
s = input()
if len(s)%2!=0:
print("NO")
else:
index = len(s)//2
print("YES") if s[:index]==s[index:] else print("NO")