Golfcoder FAQ LOGIN
Error

Advent of Code Leaderboard 2025 / Day 1

View puzzle on adventofcode.com

Submit solution



Leaderboard

Name Language Tokens Sum Tokens Part 1 Tokens Part 2 Last change
1 Profile imageFrederik Bonfanti Ruby 67 31 36 25 days ago
2 Profile imageCornerMercury Python 91 43 48 19 days ago
3 Profile imageN. Adhikary Python 95 45 50 20 days ago
4 Profile imageAllan Taylor Python 95 45 50 25 days ago
5 Profile imageBenjamin Groves Python 98 46 52 25 days ago
6 Profile imageAbbas Moosajee Python 114 55 59 24 days ago
7 Profile imageMichael Böiers Kotlin 117 54 63 23 days ago
8 Profile imageprogheal C++ 127 53 74 24 days ago
9 Profile imageHannah Lenk C++ 139 57 82 24 days ago
10 Profile imageAkke C 149 74 75 25 days ago
11 Profile imageValentin Slawicek Kotlin 155 61 94 23 days ago
12 Profile imageJordan Perry Python 160 67 93 25 days ago
13 Profile imageLafazar Python 180 82 98 24 days ago
14 Profile imageVadzim Kapichenka Kotlin 189 76 113 23 days ago
15 Profile imageNorbert Kiesel Kotlin 201 80 121 25 days ago
16 Profile imageOlivier Mengué TypeScript 10090 90 - 19 days ago
17 Profile imageN. Adhikary Kotlin 10106 106 - 12 days ago
18 Profile imageN. Adhikary Rust 10156 156 - 12 days ago

Solutions with 1 unsolved part get a penalty of 10000 tokens (indicated with "-").

Rules

  • You're welcome to participate alone or in a team.
  • You may submit multiple solutions and explore different programming languages.
  • Stick to the standard library of your language, no further dependencies/libraries, except the ones which OneCompiler provides (e.g. NumPy for Python).
  • Ensure your code aligns to the template (Python, Rust, Go, Kotlin, JavaScript, C#, TypeScript, C++, Java, C, Swift, Scala, Ruby, Bash), reading the puzzle input from stdin (terminated with end-of-file), and printing the solution to stdout.
  • Please refrain from making network requests, reading data from files, or storing data in variable/function/class names for reflection.
  • Your code must be able to process all valid Advent of Code inputs. Golfcoder might reevaluate correctness of your solution with different inputs after your submission.

90 tokens in TypeScript for part 1 by Olivier Mengué

Download solution

letdial=50;
console.log(require('fs').readFileSync(0,'utf8').split('\n').filter((line)=>{
dial=(dial+100+((line.charCodeAt(0)-79)/3)*parseInt(line.slice(1).trim()))%100;
returndial==0
}).length);