結果
問題 | No.2960 Judgement |
ユーザー |
👑 |
提出日時 | 2024-11-20 23:18:22 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 777 ms |
コード長 | 198 bytes |
コンパイル時間 | 57 ms |
コンパイル使用メモリ | 6,948 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-11-20 23:18:27 |
合計ジャッジ時間 | 771 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
s = io.read() c = 0 for z in s:gmatch("AC") do c = c + 1 end for z in s:gmatch("NoOut") do c = c + 1 end if 5 < c then print("Win") elseif c == 5 then print("Draw") else print("Lose") end