結果
| 問題 |
No.739 大事なことなので2度言います
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-11-02 19:04:18 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 90 ms / 2,000 ms |
| コード長 | 159 bytes |
| コンパイル時間 | 240 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-11-20 17:47:26 |
| 合計ジャッジ時間 | 1,740 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 7 |
コンパイルメッセージ
Syntax OK
ソースコード
S=gets.chomp
if S.size.odd? then
puts "NO"
else
h = S.size/2
if S[0, h] == S[h, h] then
puts "YES"
else
puts "NO"
end
end