結果
問題 | No.730 アルファベットパネル |
ユーザー |
👑 |
提出日時 | 2019-04-01 00:00:08 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 214 bytes |
コンパイル時間 | 221 ms |
コンパイル使用メモリ | 6,816 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-23 07:58:12 |
合計ジャッジ時間 | 834 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 8 |
ソースコード
s = io.read() n = string.len(s) t = {} found = false for i = 1, n do a = string.sub(s, i, i) if(t[a] ~= nil) then found = true break else t[a] = true end end if(found) then print("NO") else print("YES") end