每10抽一个sr,20抽一个ur ,输出(n/1000)*10和(n/2000)*10

#include <bits/stdc++.h>
using namespace std;
int main(){
    int n;
    cin>>n;
    cout<<(n/2000)*10<<" "<<(n/1000)*10<<"\n";
    return 0;
}

0 comments

No comments so far...

Information

ID
31
Time
ms
Memory
MiB
Difficulty
10
Tags
(None)
# Submissions
8
Accepted
2
Uploaded By