SRM 163 Div2 Easy

問題文の読解が少し難しかった。
でもそれなりに早く解けていて嬉しい。


得点:245.80/250
実装(VB.NET)

Imports Microsoft.VisualBasic
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Text
Imports System.Math
Imports Weight=System.Int32
Public Class Inchworm
	Public Function lunchtime(ByVal branch As Integer, ByVal rest As Integer, ByVal leaf As Integer) As Integer
		Dim i As Integer,j As Integer
		For i=0 To Branch
			If (i Mod rest) = 0 And (i Mod Leaf)=0 Then lunchtime+=1
		Next i
	End Function
End Class