結果

問題 No.739 大事なことなので2度言います
ユーザー koi_kotyakoi_kotya
提出日時 2018-10-05 21:24:07
言語 Ruby
(3.2.2)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 82 bytes
コンパイル時間 552 ms
コンパイル使用メモリ 11,404 KB
実行使用メモリ 15,252 KB
最終ジャッジ日時 2023-08-13 00:03:51
合計ジャッジ時間 2,358 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
15,092 KB
testcase_01 AC 79 ms
15,120 KB
testcase_02 AC 78 ms
15,212 KB
testcase_03 AC 75 ms
15,120 KB
testcase_04 AC 76 ms
15,252 KB
testcase_05 AC 78 ms
15,144 KB
testcase_06 AC 79 ms
15,216 KB
testcase_07 AC 78 ms
15,172 KB
testcase_08 AC 77 ms
15,064 KB
testcase_09 AC 79 ms
15,064 KB
testcase_10 AC 75 ms
15,192 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s = gets.chomp
puts (t = s.size).even? && s[0..t/2-1] == s[t/2..-1] ? "YES" : "NO"
0