自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 POJ - 3264

题目:For the daily milking, Farmer John'sNcows (1 ≤N≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game of Ultimate Frisbee with some of the cows. To keep things simple, he will take a contiguous range of cows fro...

2022-03-19 19:30:11 92

原创 Even But Not Even

Let's define a numberebne (even but not even)if and only if its sum of digits is divisible by22but the number itself is not divisible by22. For example,1313,12271227,185217185217areebnenumbers, while1212,22,177013177013,265918265918are not....

2021-12-15 21:15:21 389

原创 Boxxx

众所周知一个长方体六个面 一般 两个面(相对的面)是的一样滴 有三对这样的面 所以不同其实就三个面不同的三个面 长和宽 数据就三个 不是长方体的长 就是宽 或者高其次我用 的pair 没用结构体 因为数据少的话 sort排序pair数组比较方便(自我感觉)要是你用结构体还得构造比较函数(我是懒人)代码如下(萌新一个 写的不好见谅QWQ)​​#include<iostream>#include<algorithm>using name...

2021-11-19 21:24:59 1088

原创 求相对分子质量

求相对分子质量的话就是元素质量乘后面数字大小 这就分为两种情况 一种是后面有数字的一种是后面没数字的后面有数字的话就求出数字大小没数字就乘1(相当于没乘 直接加就行)ac代码如下#include<stdio.h>#include<iostream>using namespace std;double sm(char c){ switch(c){ case 'C':return 12.01; case 'H':return 1.008; case 'O':ret.

2021-11-19 10:03:35 626

空空如也

空空如也

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

TA关注的人

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