1.2k 1 分鐘

🌕🌑🌑🌑🌑 # 題目連結 題目連結 Online Judge uDebug # 題目說明 Time limit: 3.000 seconds # 題目 A sequence of n > 0 integers is called a jolly jumper if the absolute values of the difference between successive elements take on all the values 1 through n − 1. For instance, 1 4 2 3 is a jolly jumper,...
1.5k 1 分鐘

🌕🌑🌑🌑🌑 # 題目連結 題目連結 Online Judge uDebug # 題目說明 Time limit: 3.000 seconds # 題目 Children are taught to add multi-digit numbers from right-to-left one digit at a time. Many find the “carry” operation - in which a 1 is carried from one digit position to be added to the next - to be a significant...
2k 2 分鐘

🌕🌑🌑🌑🌑 # 題目連結 題目連結 Online Judge uDebug # 題目說明 Time limit: 3.000 seconds # 題目 A student from ITESM Campus Monterrey plays with a new encryption method for numbers. These method consist of the following steps: Steps : Example Read the number N to encrypt : M = 265 Interpret N as a decimal...
1.8k 2 分鐘

🌕🌗🌑🌑🌑 # 題目連結 題目連結 Online Judge uDebug # 題目說明 Time limit: 3.000 seconds # 題目 The “reverse and add” method is simple: choose a number, reverse its digits and add it to the original. If the sum is not a palindrome (which means, it is not the same number from left to right and right to left),...
1.9k 2 分鐘

🌕🌑🌑🌑🌑 # 題目連結 題目連結 Online Judge uDebug # 題目說明 Time limit: 3.000 seconds # 題目 Cryptanalysis is the process of breaking someone else’s cryptographic writing. This sometimes involves some kind of statistical analysis of a passage of (encrypted) text. Your task is to write a program which performs...
2.5k 2 分鐘

本篇文章比較特別,比較像是日誌、紀錄,大家如果有相同問題可以參考,但不保證相同,單純想記錄酷酷的事。 # 前情提要 我在大二開始接觸學校系上網站,幫忙處理網頁開發以及學習網頁管理的部分,因為帶領我們開發的學長畢業了,所以我大三開始正式接管系網,很可惜我在這方面知識雖然有在學習,但是還是很需要歷練,也希望盡快可以不要當廢物哈哈哈。 # 2023.10.23 # 事件背景 系辦通知系網有部分頁面要修改,我們修改後將 docker image 推上 docker hub,然後在要部屬的伺服器 docker pull 下來,進行部屬。 我們 docker image 這些部分是利用 CI/CD...
680 1 分鐘

ChienI Kao 筆記網站 JHTNT 筆記網站 # Create Project npm create svelte@latest <project_name># Example: # 安裝套件管理工具 npm install# 把 dev 中的專案 run 起來 npm run dev剛 create 的 project run 起來會長這樣 # Project 結構介紹 .│ .gitignore│ .npmrc│ package-lock.json│ package.json│ README.md│ svelte.config.js│...
383 1 分鐘

⭐️ # 題目敘述 Given an integer n , return true if it is a power of four. Otherwise, return false . An integer n is a power of four, if there exists an integer x such that n == 4^x . # Example 1 Input: n = 16 Output: true # Example 2 Input: n = 5 Output: false # Example 3 Input: n = 1 Output:...
238 1 分鐘

ChienI Kao 筆記網站 JHTNT 筆記網站 # 簡介 這是一個在 2019 年,衝進大家視眼裡的一個前端框架。 在介紹此框架前,大家可能比較熟悉的三大前端框架是: React、Vue 或 Angular。 而這個前端框架有別於這三種,留一些懸念看下去吧! # 特色 當應用程式運行時,像 React 和 Vue 等框架會在使用者的瀏覽器直接做它們想要做的事情,而 Svelte 則是將做的這些事移到編譯階段處理,因此那些做的事情只會發生在你建置應用程式的時候,進而能產生高度優化的原生 JavaScript 程式碼。
1.2k 1 分鐘

⭐️⭐️⭐️⭐️⭐️ # 題目敘述 Given an integer array nums and an integer k , return the maximum sum of a non-empty subsequence of that array such that for every two consecutive integers in the subsequence, nums[i] and nums[j] , where i < j , the condition j - i <= k is satisfied. A subsequence of...