結果
問題 |
No.739 大事なことなので2度言います
|
ユーザー |
![]() |
提出日時 | 2019-05-01 09:36:10 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 254 bytes |
コンパイル時間 | 198 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-31 12:11:09 |
合計ジャッジ時間 | 1,166 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 RE * 2 |
other | AC * 2 RE * 5 |
ソースコード
# coding utf-8 s = str(input()) # 入力単語長が奇数ならNO if len(s) % 2 != 0: print("NO") else: print(s[:(len(s)/2)]) print(s[(len(s)/2):]) if s[:(len(s)/2)] == s[(len(s)/2):]: print("YES") else: print("NO")