結果
問題 | No.1592 Tenkei 90 |
ユーザー | 👑 obakyan |
提出日時 | 2021-07-10 12:12:07 |
言語 | Lua (LuaJit 2.1.1696795921) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 101 ms |
コンパイル使用メモリ | 5,216 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-09-14 18:51:00 |
合計ジャッジ時間 | 970 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,380 KB |
testcase_01 | AC | 1 ms
4,376 KB |
testcase_02 | AC | 1 ms
4,380 KB |
testcase_03 | AC | 1 ms
4,376 KB |
testcase_04 | AC | 1 ms
4,376 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | AC | 1 ms
4,376 KB |
testcase_18 | WA | - |
testcase_19 | WA | - |
ソースコード
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")