What is MPI?
訊息傳遞介面(英語:Message Passing Interface,縮寫 MPI)是一個平行計算的應用程式接口(API),常在超級電腦、電腦叢集等非共享記憶體環境程序設計。 # Process vs. Thread 在多功作業系統 (Multitasking Operating System) 中,可以同時執行數個 Process ,然而一個 CPU 一次只能執行一個 Process (因此才有現在的多核處理器),而 Process 的運行量總量不會少於 CPU 的總量,又 Process 會佔用記憶體,因此如何排程 (Scheduling,恐龍本第五章) 、如何有效管理記憶體...
more...Nonogram Puzzles Solving
# Nonogram Puzzle 規則 Input 1000 nonogram puzzles with size 25 * 25 symbol "$" before the puzzles number 50 lines of clues (puzzles description) The former 25 are clues at the top end from up to down The former 25 are clues at thr left end from left to right "0"...
more...10041 - Vito's Family
🌕🌗🌑🌑🌑 # 題目連結 題目連結 Online Judge uDebug # 題目說明 Time limit: 3.000 seconds # 題目 The world-known gangster Vito Deadstone is moving to New York. He has a very big family there, all of them living in Lamafia Avenue. Since he will visit all his relatives very often, he is trying to find a house close...
more...10038 - Jolly Jumpers
🌕🌑🌑🌑🌑 # 題目連結 題目連結 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,...
more...10035 - Primary Arithmetic
🌕🌑🌑🌑🌑 # 題目連結 題目連結 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...
more...10019 - Funny Encryption Method
🌕🌑🌑🌑🌑 # 題目連結 題目連結 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...
more...10018 - Reverse and Add
🌕🌗🌑🌑🌑 # 題目連結 題目連結 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),...
more...10008 - What's Cryptanalysis?
🌕🌑🌑🌑🌑 # 題目連結 題目連結 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...
more...