diff options
| author | NSDepression <179435306+NSDepression@users.noreply.github.com> | 2025-12-03 12:02:54 +0530 |
|---|---|---|
| committer | NSDepression <179435306+NSDepression@users.noreply.github.com> | 2025-12-03 12:02:54 +0530 |
| commit | a41aa05396f8cb83289f8b95a267dd062f6a9484 (patch) | |
| tree | 2c820e50b187dfaa3b5a30350624342ab4057945 /Day 2 | |
| parent | 881957f4f0865000ab978222c9cb694c73180995 (diff) | |
| download | AoC-2025-a41aa05396f8cb83289f8b95a267dd062f6a9484.tar.gz AoC-2025-a41aa05396f8cb83289f8b95a267dd062f6a9484.zip | |
Diffstat (limited to 'Day 2')
| -rwxr-xr-x | Day 2/Day_02 | bin | 66440 -> 0 bytes | |||
| -rw-r--r-- | Day 2/Day_02.dSYM/Contents/Info.plist | 20 | ||||
| -rw-r--r-- | Day 2/Day_02.dSYM/Contents/Resources/DWARF/Day_02 | bin | 1532260 -> 0 bytes | |||
| -rw-r--r-- | Day 2/Day_02.dSYM/Contents/Resources/Relocations/aarch64/Day_02.yml | 5 | ||||
| -rw-r--r-- | Day 2/Untitled.py | 21 |
5 files changed, 0 insertions, 46 deletions
diff --git a/Day 2/Day_02 b/Day 2/Day_02 Binary files differdeleted file mode 100755 index 5ce52d3..0000000 --- a/Day 2/Day_02 +++ /dev/null diff --git a/Day 2/Day_02.dSYM/Contents/Info.plist b/Day 2/Day_02.dSYM/Contents/Info.plist deleted file mode 100644 index 4906cc6..0000000 --- a/Day 2/Day_02.dSYM/Contents/Info.plist +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> - <dict> - <key>CFBundleDevelopmentRegion</key> - <string>English</string> - <key>CFBundleIdentifier</key> - <string>com.apple.xcode.dsym.Day_02</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundlePackageType</key> - <string>dSYM</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleVersion</key> - <string>1</string> - </dict> -</plist> diff --git a/Day 2/Day_02.dSYM/Contents/Resources/DWARF/Day_02 b/Day 2/Day_02.dSYM/Contents/Resources/DWARF/Day_02 Binary files differdeleted file mode 100644 index 643e85e..0000000 --- a/Day 2/Day_02.dSYM/Contents/Resources/DWARF/Day_02 +++ /dev/null diff --git a/Day 2/Day_02.dSYM/Contents/Resources/Relocations/aarch64/Day_02.yml b/Day 2/Day_02.dSYM/Contents/Resources/Relocations/aarch64/Day_02.yml deleted file mode 100644 index 241796a..0000000 --- a/Day 2/Day_02.dSYM/Contents/Resources/Relocations/aarch64/Day_02.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -triple: 'arm64-apple-darwin' -binary-path: Day_02 -relocations: [] -... diff --git a/Day 2/Untitled.py b/Day 2/Untitled.py deleted file mode 100644 index 536e83b..0000000 --- a/Day 2/Untitled.py +++ /dev/null @@ -1,21 +0,0 @@ - - -with open ('input.txt', "r") as file: - content = file.read().strip() -range_groups = content.split(',') -st = [] -sum = 0 - -for group in range_groups: - print (f"Range: {group}") - distinct_nums = group.split("-") - first_value = int(distinct_nums[0]) - last_value = int(distinct_nums[1]) - for num in range(first_value, last_value + 1): - s = str(num) - is_repeating = s in (s + s) [1:-1] - if is_repeating==True: - st.append(num) -for n in st: - sum += n -print (f"Total Sum: {sum} ")
\ No newline at end of file |
