re: Project Euler #6 - Sum Square Difference VIEW POST

FULL DISCUSSION
 
set i 0
Foreach (1...100)
set i `eval(($_ * $_) + $i)`
Rof
set j 0
Foreach (1...100)
set j `eval($j + $_)`
Rof
set j `eval($j * $j)`

echo `eval($i-$j)`
code of conduct - report abuse