結果
| 問題 |
No.1592 Tenkei 90
|
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2021-07-10 12:12:07 |
| 言語 | Lua (LuaJit 2.1.1734355927) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 225 bytes |
| コンパイル時間 | 36 ms |
| コンパイル使用メモリ | 5,248 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-02 01:52:44 |
| 合計ジャッジ時間 | 748 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 5 WA * 12 |
ソースコード
a = io.read()
b = "kyoprotenkei90"
at, bt = {}, {}
for i = 1, 14 do
at[i] = a:byte(i)
bt[i] = b:byte(i)
end
table.sort(at)
table.sort(bt)
for i = 1, 14 do
if a[i] ~= b[i] then print("No") os.exit() end
end
print("Yes")