($w ma 5 elementów więc chyba nie problem z max_execution_time=120)
foreach($w as $o){ foreach ($w as $item) { while($y<=$N){ $y=$o*$item; $pp[$y] = true; } } }
; XDEBUG Extension [xdebug] ;zend_extension ="c:/wamp64/bin/php/php7.0.4/zend_ext/php_xdebug-2.4.0-7.0-vc14-x86_64.dll" zend_extension = c:\wamp64\bin\php\php7.0.4\ext\php_xdebug-2.4.1-7.0-vc14-x86_64.dll xdebug.idekey=PHPSTORM xdebug.remote_enable=1 xdebug.remote_port=9000 ;xdebug.profiler_enable=1 xdebug.profiler_enable_trigger = Off xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir ="c:/wamp64/tmp" xdebug.show_local_vars=0