結果
問題 |
No.739 大事なことなので2度言います
|
ユーザー |
|
提出日時 | 2018-10-19 11:37:44 |
言語 | Nim (2.2.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 176 bytes |
コンパイル時間 | 2,802 ms |
コンパイル使用メモリ | 66,004 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-01 04:54:37 |
合計ジャッジ時間 | 3,382 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 RE * 2 |
other | AC * 2 RE * 5 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'strutils' [UnusedImport]
ソースコード
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"