結果
問題 | No.661 ハローキティはりんご3個分 |
ユーザー |
👑 |
提出日時 | 2019-03-23 15:00:35 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 247 bytes |
コンパイル時間 | 339 ms |
コンパイル使用メモリ | 6,944 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 13:15:24 |
合計ジャッジ時間 | 763 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
ソースコード
n = io.read("*n")for i = 1, n, 1 dok = io.read("*n")if(k % 8 == 0) then io.write("iki") endif(k % 10 == 0) then io.write("sugi") endif(k % 8 ~= 0 and k % 10 ~= 0 and k % 3 == 0) then io.write(k / 3) endio.write("\n")end