結果
| 問題 | No.9001 標準入出力の練習問題(テスト用) |
| ユーザー |
|
| 提出日時 | 2020-06-13 18:45:36 |
| 言語 | Lua (LuaJit 2.1.1734355927) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 349 bytes |
| 記録 | |
| コンパイル時間 | 226 ms |
| コンパイル使用メモリ | 6,944 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-06-25 18:02:18 |
| 合計ジャッジ時間 | 490 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
ソースコード
function split (inputstr, sep)
if sep == nil then
sep = "%s"
end
local t={}
for str in string.gmatch(inputstr, "([^"..sep.."]+)") do
table.insert(t, str)
end
return t
end
inp1 = split(io.read(),' ')
inp2 = io.read()
A = inp1[1]
B = inp1[2]
N = A + B
print(N,' ',inp2)