q859. I love Fortnite 1
標籤 : Fortnite mod 可以出題了!!! 基礎題 模數
通過比率: 44人/ 45人 ( 98%) [非即時]
評分方式:
Strictly

最近更新 : 2025-06-24 16:49

內容

HJ很喜歡玩Fortnite, 但他也喜歡寫程式,所以他想把兩者結合在一起,這題就這樣誕生了... (應該會是一系列)


Fortnite just made a new game mode, blitz royale. And it's pretty fun to play with, to start the game, you will start with a random medallion.(there are 12 medallions in the game)(我不知道要怎麼用中文表示XD)

輸入1正整數n,輸出其對應之Medallion(mod 12).

輸入說明

每一行有一個數字n,0 <= n <= 2147483647

EOF結束

輸出說明

輸出n mod 12 對應之medallion.

範例輸入 #1
13
99
範例輸出 #1
Ringmaster Scarr
Aspect of Speed
測資資訊:
記憶體限制: 64 MB
公開 測資點#0 (100%): 1.0s , <1M
提示 :

有時候寫程式最難的是打字...

標籤:
Fortnite mod 可以出題了!!! 基礎題 模數
出處:
HJ [管理者: hansjiang101 ... (可以出題了!!!!!!!!!!...) ]

本題狀況 本題討論 排行

編號 身分 題目 主題 人氣 發表日期
46475 chenwei98050 ... (陳維(Z)) q859
python一行解
98 2025-06-29 20:35
46455 1121232@stu. ... (Ian911436) q859
cpp 超級簡單解
126 2025-06-25 15:27
46448 s310344@hlhs ... (EQRQQ) q859
133 2025-06-24 17:29