結果
問題 | No.1543 [Cherry 2nd Tune A] これがプログラミングなのね |
ユーザー |
👑 |
提出日時 | 2021-06-12 18:01:21 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 214 bytes |
コンパイル時間 | 579 ms |
コンパイル使用メモリ | 7,076 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-17 15:26:35 |
合計ジャッジ時間 | 1,386 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 35 |
ソースコード
a, b, c = io.read():match("(%d+) (%d+) (%g)")a, b = tonumber(a), tonumber(b)function ans(v)print(v and "YES" or "NO")endif c == "<" thenans(a < b)elseif c == "=" thenans(a == b)elseans(a > b)end