結果
問題 | No.739 大事なことなので2度言います |
ユーザー | reforefo2 |
提出日時 | 2020-05-07 15:42:18 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 184 bytes |
コンパイル時間 | 112 ms |
コンパイル使用メモリ | 10,488 KB |
実行使用メモリ | 7,928 KB |
最終ジャッジ日時 | 2023-09-16 07:53:49 |
合計ジャッジ時間 | 864 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
7,768 KB |
testcase_01 | AC | 16 ms
7,780 KB |
testcase_02 | WA | - |
testcase_03 | AC | 15 ms
7,880 KB |
testcase_04 | WA | - |
testcase_05 | AC | 15 ms
7,776 KB |
testcase_06 | AC | 15 ms
7,776 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 15 ms
7,832 KB |
testcase_10 | AC | 15 ms
7,780 KB |
ソースコード
N = input() result = "YES" if len(N)%2 == 1: result = "No" else: for i in range(int(len(N)/2)): if N[i] != N[int(len(N)/2) + i]: result = "NO" print(result)