結果
| 問題 | 
                            No.333 門松列を数え上げ
                             | 
                    
| コンテスト | |
| ユーザー | 
                             nobigomu
                         | 
                    
| 提出日時 | 2018-05-28 22:44:21 | 
| 言語 | Lua  (LuaJit 2.1.1734355927)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 107 bytes | 
| コンパイル時間 | 29 ms | 
| コンパイル使用メモリ | 6,688 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-06-30 07:53:25 | 
| 合計ジャッジ時間 | 647 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 7 | 
ソースコード
print((function (a, b, n)
	return a<b and b-2 or n-b-1
end)(io.stdin:read("*n"), io.stdin:read("*n"), 2e9))
            
            
            
        
            
nobigomu