結果
問題 | No.2400 Product of Gaussian Integer |
ユーザー |
👑 |
提出日時 | 2023-08-06 15:15:33 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 197 bytes |
コンパイル時間 | 50 ms |
コンパイル使用メモリ | 6,692 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-06 18:20:03 |
合計ジャッジ時間 | 707 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 13 |
ソースコード
a, b = io.read("*n", "*n") c, d = io.read("*n", "*n") n = 1LL * a * c - 1LL * b * d m = 1LL * a * d + 1LL * b * c n = tostring(n):gsub("LL", "") m = tostring(m):gsub("LL", "") print(n .. " " .. m)