This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const aws = require("aws-sdk") | |
const iam = new aws.IAM() | |
const ec2 = new aws.EC2() | |
const securityGroupNames = [ | |
"allow-internal-ingress", | |
"allow-internal-egress", | |
"allow-external-egress" | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
long bits = 0; | |
long max = 0; | |
void binary(long N) { | |
if (N > 1) { | |
binary(N / 2); | |
} | |
if (N % 2 == 0) { | |
bits += 1; | |
return; |
OlderNewer