- 买铅笔
- 6 年前 @
不会就问,别怂!!!
4 条评论
-
2329801244 LV 7 @ 6 年前
额,你们真勤奋啊
-
6 年前@
#include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstring>
#include<cmath>
using namespace std;
int main(){
int n,x,i,l=1,ans;
cin>>n>>x;
for(i=1;i<=n;i++){
if(l%10==x){
ans++;
l++;
}
}
cout<<ans<<endl;
}想知道哪错了啊
-
6 年前@
“三角形”谁会啊?
-
6 年前@
怎么做啊,一晚上做不出来!!!
- 1
信息
- 难度
- 9
- 分类
- (无)
- 标签
- (无)
- 递交数
- 6
- 已通过
- 2
- 通过率
- 33%
- 上传者