結果
問題 | No.441 和か積 |
ユーザー |
![]() |
提出日時 | 2018-03-13 01:09:42 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 197 bytes |
コンパイル時間 | 87 ms |
コンパイル使用メモリ | 6,684 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-27 03:58:52 |
合計ジャッジ時間 | 1,042 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
print((function (s)if s == "0 0" or s == "2 2" thenreturn "E"endfor e in s:gmatch("%d+") doif e == "0" or e == "1" thenreturn "S"endendreturn "P"end)(io.stdin:read("*l")))