自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

无機盐

想要什么有什么

  • 博客(3)
  • 收藏
  • 关注

原创 1041 Be Unique (20分)

#include<iostream> using namespace std; int main(){ int n; cin>>n; int num[n]; int count[10000]={0}; for(int i=0;i<n;i++){ cin>>num[i]; count[num[i]]++; } int i; for(i=0;i<n;i++){ if(count[num[i]]==1){ cout<<n

2021-01-29 20:23:04 92

原创 1019 General Palindromic Number (20分)

#include<iostream> using namespace std; int main(){ int n,b; cin>>n>>b; int num[1000]; int count=0; while(n>0){ num[count]=n%b; n=n/b; count++; } int flag=1; for(int i=0;i<count/2;i++){ if(num[i]!=num[count-i-1]){

2021-01-24 19:59:59 85

原创 1012 The Best Rank (25分)

1012 The Best Rank #include<iostream> #include<map> #include<algorithm> using namespace std; struct Student{ string id; int C[2]; int M[2]; int E[2]; int A[2]; }stu[3000]; bool cmp1(Student a,Student b){ return a.C[0]>b.C[0]; }

2021-01-24 14:56:44 77

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除