Add missing variables declaration.
已通過所有檢查
The build was successful.

此提交包含在:
2019-04-28 19:14:25 +02:00
父節點 eef5ee370d
當前提交 2bda002259

查看文件

@@ -8,6 +8,8 @@ class Program {
'X' => 10, 'IX' => 9, 'V' => 5, 'IV' => 4, 'I' => 1};
int $matches;
string $roman;
int $value;
foreach($lookup as $roman => $value) {
$matches = (int) ($n / $value);
$result += str_repeat($roman, $matches);