B. youngmagician被逆天抽卡游戏气到吐血

    Type: Default 1000ms 256MiB

youngmagician被逆天抽卡游戏气到吐血

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Problem Description

众所周知,游戏王大师决斗是一款良心的游戏,youngmagician最近沉迷于这款游戏,已知在游戏中100钻石可以抽取一次卡包,每10次抽取卡包一定会有一张保底SR,每20次抽取一定会有一张保底UR,但是由于youngmagician是非酋,所有抽卡都只能抽到保底并且抽不到想要的卡,只能把抽取到的全部SR卡和UR卡转化为对应的SR尘和UR尘,一张sr卡能转化成10sr尘,一张ur卡能转化为10ur尘,现在输入youngmagician有的钻石数量,你能输出最终能有多少SR尘和UR尘吗? 1701230999385

Input Format

一个整数,表示钻石的数量

Output Format

两个整数,分别表示UR尘和SR尘的数量

Sample

样例输入

8847

样例输出

40 80

Hint

1≤n≤106 1 \leq n \leq 10^6

第九届重庆邮电大学萌新赛

Not Attended
Status
Done
Rule
XCPC
Problem
9
Start at
2023-12-2 13:00
End at
2023-12-2 18:00
Duration
5 hour(s)
Host
Partic.
0