Commit Graph

676 Commits

Author SHA1 Message Date
Krishna Vedala
68bf72ef8d
updated submodule commit 2020-04-07 18:08:42 -04:00
github-actions
b0689d9d7a updating DIRECTORY.md 2020-04-07 16:39:21 +00:00
Krishna Vedala
7dee181d3b
Merge branch 'project_euler/master2' of github.com:kvedala/C into project_euler/master2 2020-04-07 12:38:31 -04:00
Krishna Vedala
8a895b365a
added new faster implementation for shell-sort 2020-04-07 12:38:22 -04:00
Krishna Vedala
17419855cb
revert to single function implementation of shell_sort 2020-04-07 12:22:31 -04:00
Krishna Vedala
99f299d172
Merge branch 'master' into project_euler/master2 2020-04-07 10:41:35 -04:00
Krishna Vedala
c4c2263cc6
ignore build folder 2020-04-07 09:36:29 -04:00
Krishna Vedala
44561cf3b5
Merge pull request #2 from kvedala/cmake
Auto-build using CMake and CI using Travis-CI
2020-04-07 00:47:19 -04:00
Krishna Vedala
3611c5e8f4
added build status badge 2020-04-07 00:45:55 -04:00
Krishna Vedala
860b1fd501
added stdint.h for fixed width ints 2020-04-07 00:41:14 -04:00
Krishna Vedala
6a09ade47d
added stdint.h for fixed width ints 2020-04-07 00:39:42 -04:00
Krishna Vedala
fe5c6a724d
replace uint8 with unsigned char 2020-04-07 00:37:24 -04:00
Krishna Vedala
35f897352e
use https for submodule 2020-04-07 00:33:46 -04:00
Krishna Vedala
682b48b83a
added travis CI 2020-04-07 00:28:15 -04:00
Krishna Vedala
2d9d2d87fe
using the new function_timer library 2020-04-07 00:24:40 -04:00
Krishna Vedala
d24b6ea344
added option to enable or disable use of openmp 2020-04-07 00:24:13 -04:00
Krishna Vedala
1e7fc84c3a
added cmake to project euler 2020-04-07 00:12:34 -04:00
Krishna Vedala
0c86721f4a
better way to link libraries 2020-04-07 00:00:04 -04:00
Krishna Vedala
c0ebfabc6f
+misc/cmake 2020-04-06 23:59:41 -04:00
Krishna Vedala
def308b785
remove conio.h 2020-04-06 23:59:19 -04:00
Krishna Vedala
45398453be
First working cmake 2020-04-06 23:50:46 -04:00
Krishna Vedala
772dd98aa6
do not track build folder 2020-04-06 22:38:33 -04:00
Krishna Vedala
d321ee09cc
updated submodule 2020-04-06 22:22:54 -04:00
Krishna Vedala
c511a709cc
added submodule kvedala/function_primer 2020-04-06 22:19:41 -04:00
Krishna Vedala
855c9124b8
added stdint.h for integer length typedefs 2020-04-03 08:10:28 -04:00
github-actions
b12e387bce updating DIRECTORY.md 2020-04-03 03:51:13 +00:00
Krishna Vedala
daca8c97e2
brute-force method 2020-04-02 23:50:51 -04:00
github-actions
74dfd1fffd updating DIRECTORY.md 2020-04-03 00:17:42 +00:00
Krishna Vedala
22bb478c07
Merge branch 'project_euler/master2'
* project_euler/master2: (26 commits)
  solution using arbitrary number of digits took 11ms
  algorithm by Dijkstra
  updating DIRECTORY.md
  move time computation inside loop + comments
  faster parallleization
  time computation inside the loop & print loop info
  added comments
  sol1 optimized by storing abundant numbers in a condensed array
  brute-force - compute abundant numbers every time
  added source text file
  updating DIRECTORY.md
  sort using both lazy sort and shell-sort
  add stats for algo 2 and use milliseconds
  create a duplicate array
  added new shell-sort algorithm
  updating DIRECTORY.md
  speed optimized solution + optional OpenMP
  added computational time
  added additional summary
  updating DIRECTORY.md
  ...
2020-04-02 20:16:57 -04:00
github-actions
e496cf68df updating DIRECTORY.md 2020-04-03 00:16:37 +00:00
Krishna Vedala
1914f98fcd
Merge branch 'project_euler/problem_25' into project_euler/master2
* project_euler/problem_25:
  solution using arbitrary number of digits took 11ms
2020-04-02 20:15:57 -04:00
Krishna Vedala
3032428b65
Merge branch 'project_euler/problem_24' into project_euler/master2
* project_euler/problem_24:
  algorithm by Dijkstra
2020-04-02 20:15:48 -04:00
Krishna Vedala
52b83e3ca6
Merge branch 'project_euler/problem_23' into project_euler/master2
* project_euler/problem_23:
  updating DIRECTORY.md
  move time computation inside loop + comments
  faster parallleization
  time computation inside the loop & print loop info
  added comments
  sol1 optimized by storing abundant numbers in a condensed array
  brute-force - compute abundant numbers every time

# Conflicts:
#	DIRECTORY.md
2020-04-02 20:15:39 -04:00
Krishna Vedala
c0eaae7546
Merge branch 'project_euler/problem_22' into project_euler/master2
* project_euler/problem_22:
  added source text file
  updating DIRECTORY.md
  sort using both lazy sort and shell-sort

# Conflicts:
#	DIRECTORY.md
2020-04-02 20:13:14 -04:00
Krishna Vedala
5d6f7b3876
Merge branch 'sorting/shell_sort' into project_euler/master2
* sorting/shell_sort:
  add stats for algo 2 and use milliseconds
  create a duplicate array
  added new shell-sort algorithm
  updating DIRECTORY.md
  +a much faster fibonacci computation algorithm
  print hashes in HEX
  add commandline option to FibonacciDP.c
  print hashes in HEX
  add commandline option to FibonacciDP.c
2020-04-02 20:10:50 -04:00
Krishna Vedala
3077a981dd
Merge branch 'project_euler/problem_21' into project_euler/master2
* project_euler/problem_21:
  updating DIRECTORY.md
  speed optimized solution + optional OpenMP

# Conflicts:
#	DIRECTORY.md
2020-04-02 20:10:30 -04:00
Krishna Vedala
feec93558c
Merge branch 'project_euler/problem_19' into project_euler/master2
* project_euler/problem_19:
  updating DIRECTORY.md
  Project Euler / Problem 19

# Conflicts:
#	DIRECTORY.md
2020-04-02 20:08:51 -04:00
Krishna Vedala
8279092455
solution using arbitrary number of digits
took 11ms

(cherry picked from commit 54e3cdc92f81bebe8678257916766b5b8af9b2b0)
2020-04-02 20:02:22 -04:00
Krishna Vedala
b033b323fb
much faster Fibbonacci algorithm 2020-04-02 18:36:11 -04:00
Krishna Vedala
eecdadecd4
algorithm by Dijkstra 2020-04-02 18:23:12 -04:00
github-actions
64fe9b0718 updating DIRECTORY.md 2020-04-02 17:27:59 +00:00
Krishna Vedala
fa24b792a7
move time computation inside loop + comments 2020-04-02 13:26:54 -04:00
Krishna Vedala
3598708121
faster parallleization 2020-04-02 13:25:26 -04:00
Krishna Vedala
ba31018aef
time computation inside the loop & print loop info 2020-04-02 13:23:51 -04:00
Krishna Vedala
f34164e601
added comments 2020-04-02 13:15:25 -04:00
Krishna Vedala
50a113addb
sol1 optimized by storing abundant numbers in a condensed array 2020-04-02 12:28:04 -04:00
Krishna Vedala
baaec2a3e0
brute-force - compute abundant numbers every time 2020-04-02 12:27:23 -04:00
Krishna Vedala
1d780f1a2f
added source text file 2020-04-02 01:14:31 -04:00
github-actions
5d5f2d4912
updating DIRECTORY.md
(cherry picked from commit be4c47c1d95e79cac5cffb16f032895cf14ed45c)
2020-04-01 23:54:45 -04:00
Krishna Vedala
a617fb71e5
sort using both lazy sort and shell-sort
(cherry picked from commit 0cbea99c3e77736b571ef7702a7f6a3ce6a031be)
2020-04-01 23:54:35 -04:00