TungYi

@Nomad1230

Joined on Feb 21, 2022

  • :::info 教材連結 ::: L1. Install FreeBSD (video) L2. Install Applications (video; 1/2) VirtualBox 網路說明 L2. Install Applications (video; 2/2) L3. Shell (video; 1/2) L3. Shell (video; 2/2) L4. Shell Programming (video; 1/2)
     Like  Bookmark
  • Q1 A True,使用硬體最佳化除法 B True C True
     Like  Bookmark
  • 中文題目:5G核心網路的即時通訊應用 實現即時通訊應用於5G核心網路 英文題目(若需要):Implement Instant Messaging Application through 5G Core Network 摘要 :::info 最後撰寫 簡述以下論文內容 大方向論述5G
     Like  Bookmark
  • contributed by < Nomad1230 > 測驗 1 解釋程式碼原理 建立質數表 :::spoiler generate_sieve static void generate_sieve(int digits) { ull max = 0;
     Like  Bookmark
  • contributed by < Nomad1230 > 2020-04-04 測驗 1 測試程式碼: #include <stddef.h> #include <stdint.h> #include <limits.h> #include <string.h>
     Like  Bookmark
  • contributed by < Nomad1230 > 測驗 1 #include <stdint.h> uint32_t average(uint32_t a, uint32_t b) { return (a >> 1) + (b >> 1) + (EXP1); } 此函式的目的是要計算無號整數的平均值,觀察其回傳值 (a >> 1) 及 (b >> 1) 其實就是 a / 2 跟 b / 2 的意思,最後再加上 EXP1 就是答案,而 EXP1 就是要檢查 a 跟 b 的最後一個位元相加後有沒有產生進位,若有進位則要將其補回。
     Like  Bookmark
  • contributed by < Nomad1230 > 第一題 - LeetCode 1. Two Sum map_init struct hlist_node { struct hlist_node *next, **pprev; }; struct hlist_head { struct hlist_node *first; }; typedef struct { int bits; struct hlist_head *ht; } map_t; #define MAP_HASH_SIZE(bits) (1 << bits)
     Like  Bookmark
  • contributed by < Nomad1230 > 實驗環境 $ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 39 bits physical, 48 bits virtual
     Like  Bookmark