Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
|
|
@ -1,4 +1,4 @@
|
|||
var doors = [], n = 100, i, j;
|
||||
(function(){var doors = [], n = 100, i, j;
|
||||
|
||||
for (i = 1; i <= n; i++) {
|
||||
for (j = i; j <= n; j += i) {
|
||||
|
|
@ -8,4 +8,4 @@ for (i = 1; i <= n; i++) {
|
|||
|
||||
for (i = 1 ; i <= n ; i++) {
|
||||
if (doors[i]) console.log("Door " + i + " is open");
|
||||
}
|
||||
}}())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue