結果

問題 No.739 大事なことなので2度言います
ユーザー Soo673Soo673
提出日時 2018-10-19 11:37:44
言語 Nim
(2.0.2)
結果
RE  
実行時間 -
コード長 176 bytes
コンパイル時間 3,305 ms
コンパイル使用メモリ 67,012 KB
実行使用メモリ 4,508 KB
最終ジャッジ日時 2023-09-13 20:25:28
合計ジャッジ時間 3,425 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 AC 2 ms
4,376 KB
testcase_03 RE -
testcase_04 AC 1 ms
4,376 KB
testcase_05 RE -
testcase_06 RE -
testcase_07 AC 2 ms
4,380 KB
testcase_08 AC 2 ms
4,380 KB
testcase_09 RE -
testcase_10 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'strutils' [UnusedImport]

ソースコード

diff #

import strutils
var string = readLine(stdin)
var strlen = string.len()
if strlen mod 2 == 0 :
 if string[0..strlen-1] == string[strlen..strlen] :
  echo "YES"
else :
 echo "NO"
0