結果
| 問題 | No.739 大事なことなので2度言います |
| コンテスト | |
| ユーザー |
gma712
|
| 提出日時 | 2019-02-11 15:48:14 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 2,000 ms |
| コード長 | 248 bytes |
| 記録 | |
| コンパイル時間 | 387 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 36,148 KB |
| 最終ジャッジ日時 | 2026-04-02 04:05:42 |
| 合計ジャッジ時間 | 2,044 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 7 |
ソースコード
# coding: utf-8
def main():
s = input()
l = len(s)
if l % 2 != 0:
print('NO')
else:
if s[0:l//2] == s[l//2:l]:
print('YES')
else:
print('NO')
if __name__ == '__main__':
main()
gma712