結果

問題 No.682 Average
ユーザー nobigomu
提出日時 2018-05-13 11:25:57
言語 Lua
(LuaJit 2.1.1734355927)
結果
WA  
実行時間 -
コード長 146 bytes
コンパイル時間 560 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-28 09:53:17
合計ジャッジ時間 1,176 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

print((function (a, b)
	local t,r=3-(a+b)%3,0
	for i=a,b do if i%3==t then r=r+1 end end
	return r
end)(io.stdin:read("*n"), io.stdin:read("*n")))
0