bVersion Robotics Workshop

  • Home
  • bVersion Robotics Workshop

bVersion Robotics Workshop Contact information, map and directions, contact form, opening hours, services, ratings, photos, videos and announcements from bVersion Robotics Workshop, Digital creator, .

09/12/2024

AoC 2024 - Day 7

For this quiz, I am trying to use eval() to calucalte the formula when store in string. Since eval() is taking multiple (*) the first priority, I added '()' for each operator, e.g. ((81+40)*27), so that it can be always evaluated left-to-right. Then, I was using the numbers of operators required and convert this into binary, i.e. 00, 01, 10, 11, and mapped this into ++, +*, *+, **. Finally, joinned the bracket, numbers and operator together as a string and calculate the result with eval().

** When I did part 2, I found myself overthinking again, I didn't need to add bracket and using eval(). But anyway, it was a good example to share. Please check part two for how I simplified this.

Visit my website for the code with explanation.
https://bversion.com/WordPress/2024/12/06/aoc-2024/ -7

My first time to challenge Advent of Code (https://adventofcode.com/2024). Since I am a beginner, just can try to use so...
06/12/2024

My first time to challenge Advent of Code (https://adventofcode.com/2024).

Since I am a beginner, just can try to use some basic coding and concept to solve those puzzles. I put my Day 1 - Day 5 code in my website to share with some explanation, please take a look and provide me your inputs. Thanks!!

https://bversion.com/WordPress/2024/12/06/aoc-2024/

AoC 2024 December 6, 2024AoC 2024Adam Chan With Alex’s introduction, my first time to play Advent of Code, it’s a lot of fun. Login to this website recall me my good old date of running my BBS – Beta Version BBS. As I am not professional enough, just try to solve daily quiz with basic Python c...

https://youtu.be/LS72MctJoJQ?si=CdHIwLC1MrsnwoeI
07/11/2024

https://youtu.be/LS72MctJoJQ?si=CdHIwLC1MrsnwoeI

【简介】用通俗的话,解释[量子]的意思及相关历史00:00 神说要有的光02:34 五彩斑斓的光06:02 上下振荡的光12:39 开尔文的乌云16:28 普朗克的假设21:08 爱因斯坦的能量包28:55 光的双缝实验34:18 光的认知困境39:33 电子的双缝实验42:42 ....

Address


Alerts

Be the first to know and let us send you an email when bVersion Robotics Workshop posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

  • Want your business to be the top-listed Media Company?

Share