Skip to content

Commit

Permalink
Portability issues
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 3, 2024
1 parent a0c039c commit 016d996
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/raw_inv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ cstring cpp:type 1 https://en.cppreference.com/w/cpp/header/cstring <cstring>
string cpp:type 1 https://en.cppreference.com/w/cpp/header/string <string>
sstream cpp:type 1 https://en.cppreference.com/w/cpp/header/sstream <sstream>
fstream cpp:type 1 https://en.cppreference.com/w/cpp/header/fstream <fstream>
vector cpp:type 1 https://en.cppreference.com/w/cpp/header/vector <vector>
map cpp:type 1 https://en.cppreference.com/w/cpp/header/map <map>
limits cpp:type 1 https://en.cppreference.com/w/cpp/header/limits <limits>

itertools::Itertools rust:trait 1 https://docs.rs/itertools/latest/itertools/trait.Itertools.html itertools::Itertools
num_traits::NumAssign rust:trait 1 https://docs.rs/num-traits/latest/num_traits/trait.NumAssign.html num_traits::NumAssign
Expand Down
2 changes: 1 addition & 1 deletion javascript/src/p0021.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
exports.p0021 = function() {
let answer = 0;
const toCheck = Array.from(...Array(10000).keys());
const toCheck = [...Array(10000).keys()];
for (const a of toCheck) {
const b = d(a);
if (a !== b && d(b) === a) {
Expand Down

0 comments on commit 016d996

Please sign in to comment.