Skip to content

dmiao623/project-euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

314 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a list of codes and solutions to Project Euler.

I consider internet resources such as Wikipedia, MathWorld, and OEIS fair game as long as it doesn't reference the Project Euler problem in particular. It is up to the problemsetter, and not the contestant, to set non-trivial problems that are not just a standard application of a theorem. Currently, I have tags disabled.

profile overview

Code

My code is written in Julia, Python, Mathematica, and C++. You can find a (deprecated) list of my templates on my blog or my code library. I have a list of commonly used templates and sequences specific to Project Euler in this repository, which I import as necessary in my solutions. Finally, you can find codes for similar problems on my CodeForces or AtCoder profiles.

In my C++ codes I will sometimes import files from the AtCoder Library. This is a library of templates for commonly used algorithm, the most useful of which is the modular int.

I use a 2019 16-inch MacBook with a 2.6 GHz 6-Core Intel Core i7. Python codes are run using python3. C++ files are compiled using g++-12 m.cpp -std=c++20 -O2 -DLOCAL -I ${LIBRARY_PATH} -o m.out, where ${LIBRARY_PATH} is a local file path to a directory with the Atcoder Library and local utility files (including a debug template). On slower codes I will compile using -O3 or -Ofast optimizations instead. I will generally try to abide by the "one-minute rule", in which a program to solve any given problem will take at most 60 seconds to run on a decent CPU.

Statistics

Problems Solved: 206

Problems Attempted: 210

List of Solved Problems
Table of Solved Problems
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
31 32 33 34 35 36 37 38 39 40
41 42 43 44 45 46 47 48 49 50
51 52 53 54 55 56 57 58 59 60
61 62 63 64 65 66 67 68 69 70
71 72 73 74 75 76 77 78 79 80
81 82 83 85 86 87 89 90
91 92 93 94 95 96 97 99 100
101 102 103 104 105 107 108 110
112 113 114 115 116 117 119 120
121 122 123 124 125
131 132 133 134 135 136
142 145 146 148 149 150
152 158
164
172 173 174 178 179
181 183 185 186 187 188 189 190
191 193 197
201 203 204 205 206
211 214 218
230
235
243 249
258 259 260
266 267


291 293 294
301 303 304
317
323 324 329
337
345
351 357

375 378
381 387

401 408
411
429


457



493 497 500
504






577
587






657


686
700
710


733
743




800
808
816
828
836

Generated automatically using stats-generator.py.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors