3 石朝洋

学生身份

我要认证

换了id,换了我的人生的态度.

等级
TA的排名 2w+

PAT (Advanced Level) 1001 A+B Format

1001 A+B Format (20 分)Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).Input Speci...

2018-11-04 21:26:15

不知道为什么的为什么

我最想的是什么仔细想了想,静悄悄的从这个世界无声无息的消失,不想有任何牵连,任何羁绊

2018-11-02 19:16:26

ACM-ICPC 2018 徐州赛区网络预赛 Characters with Hash

Characters with Hash 问答 问题反馈 只看题面 26.98% 1000ms 262144K Mur loves hash algorithm, and he sometimes encrypt another one’s name, and call him with that encrypted value. For instance, he calls Kimu...

2018-09-11 21:47:58

lca问题总结_第一版

到了大三本该是算法学完只剩缝缝补补的过程,但是到了最后回顾自己的大2和暑假,为了蝇头小利,去做自媒体,去卖东西,怎么讲是体验了社会,人心险恶,有关钱的事都不是好事,如果是朋友,我宁愿用这钱交个朋友,可是真的不缺这点钱,用心心搞奖学金,都有一万呢,沉下心,在9月底前吧,学完所有算法,准备省赛,最后一年拿出水平.lca 解决最近公共祖先问题怎么解决的呢, 这是个暴力dfs 记忆化,并且用利用 ...

2018-08-27 23:58:25

codeforce 469 B C -模拟 -构造

标题 ## B. Chat Online Little X and Little Z are good friends. They always chat online. But both of them have schedules.Little Z has fixed schedule. He always online at any moment o...

2018-08-12 14:43:31

2018-8-5-新的开始-(安排)

1.必须知道自己每天都干了什么.2.一个小时后,必须要自己休息10分钟,放松身体,要养成习惯.3.每天11:40 一定要躺在床上,那么安排下来{ 早上7:00 起床 吃早饭洗刷 30分钟 7:30-8:00 看30分钟英文书 8:00-8:30 剪视频 9:00-11:00 cf: 12:00-5:00 有比赛比赛 ...

2018-08-05 20:09:30

codeforce_845c_Two TVs

Two TVsPolycarp is a great fan of television.He wrote down all the TV programs he is interested in for today. His list contains n shows, i-th of them starts at moment li and ends at moment ri.Po...

2018-04-03 01:58:13

codeforce_845D_暴力模拟

Driving TestPolycarp has just attempted to pass the driving test. He ran over the straight road with the signs of four types.speed limit: this sign comes with a positive integer number — maximal s...

2018-04-03 01:52:53

codeforce_844A

Diversity Time Limit: 1000msMemory Limit: 262144KB This problem will be judged on CodeForces. Original ID: 844A 64-bit integer IO format: %I64d Java class name: (Any) Prev Submit Status Statis...

2018-04-03 01:46:45

codeforces 844B Rectangles (概率)

RectanglesYou are given n × m table. Each cell of the table is colored white or black. Find the number of non-empty sets of cells such that:All cells in a set have the same color. Every two cells...

2018-04-03 01:44:51

ZSQ_(原创题)_DJ的大脑风暴 i_(SZY_4_3_01_20_AC)

DJ最近生病了,人一生病脑子就会想太多,突然DJ脑洞大开。DJ最近困惑于POJ那题经典的食物链,脑海中一直萦绕着N个物种。每个物种存在两个独立的价值A, B,如果一个物种X两类价值中的一类比另一种物种Y高,则物种X能吃掉物种Y;Input 对于每组数据,第一行输入一个整数N(1<=N<=100000)接着N行,每行输入两个整数Ai, Bi(1<=A,B<=...

2018-04-03 01:36:31

sprintf实例

#include<bits/stdc++.h>using namespace std;long long t[10009];int main(){ char a[10]; int ans=0; for(long long i=1;;i++) { int sum=0; sprintf...

2018-03-25 16:54:42

2018——广东工业大学校赛题解

链接:https://www.nowcoder.com/acm/contest/90/A 来源:牛客网 A 小明在坐景驰科技研发的无人车到达了目的地。 景驰科技(JingChi.ai)是一家由人工智能技术驱动、以无人驾驶技术为核心的智能出行公司。它将打造面向中国市场的全无人驾驶。 从无人车下来以后,小明看到了一个长长的楼梯。 有一个n级台阶的楼梯,小明一次可以向上跳1步,两步,甚至是n...

2018-03-25 09:49:01

c 字符读入%s_gets_%[^\n]

一、快速了解1.scanf( )函数和gets( )函数都可用于输入字符串,但在功能上有区别。若想从键盘上输入字符串”hi hello”,则应该使用gets函数。2.gets可以接收空格,回车结束,gets(s)是输入一行;而scanf(%s)遇到空格、回车和Tab键都会认为输入结束,所有它不能接收空格。char string[15]; gets(string); /遇到回车认为输...

2018-03-25 09:31:12

poj—简单dfs输入坑

The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid that divides th...

2018-03-07 22:07:25

hdu_1253_三维bfs

Ignatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟后回到城堡,Ignatius每分钟能从一个坐标走到相邻的六个坐标中的其中一个.现在给你城堡的地图,请你计算出Igna

2018-03-01 18:46:44

hdu_1240_3维bfs,注意搜索坐标

IntroductionYou're in space.You want to get home.There are asteroids.You don't want to hit them.InputInput to this problem will consist of a (non-empty) series of up to 100 data sets. Each data set

2018-03-01 13:25:42

hdu_1242_bfs_或者记忆化dfs

Problem Description Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs, and GUARDs in the prison.Angel’s

2018-02-28 12:45:30

HDU_4474_数位bfs——经典搜索

Yet Another Multiple ProblemThere are tons of problems about integer multiples. Despite the fact that the topic is not original, the content is highly challenging. That’s why we call it “Yet Another

2018-02-02 19:08:44

HDU_1520_树形DP(递推形式_不能标记)

Anniversary partyProblem Description There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical structure of employees. It means th

2018-01-26 10:28:23

查看更多

勋章 我的勋章
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!