結果
| 問題 |
No.739 大事なことなので2度言います
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-10-05 21:28:55 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 2,000 ms |
| コード長 | 217 bytes |
| コンパイル時間 | 197 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,368 KB |
| 最終ジャッジ日時 | 2024-11-20 16:37:33 |
| 合計ジャッジ時間 | 1,104 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 7 |
ソースコード
from sys import stdin
def main():
S = input()
l = len(S)
s1, s2 = S[:l//2], S[l//2:]
if s1 == s2:
print('YES')
else:
print('NO')
input = lambda: stdin.readline().rstrip()
main()