当前位置:网站首页>Notes for csp-j / s 2020
Notes for csp-j / s 2020
2020-11-09 12:53:00 【osc_lnhxmt4i】
Write only the things that are easy to notice , If you have stressed it many times, don't write it .
Before the game
- Try to arrive as early as possible , Don't be late .
- Never take a negative mood , Or it will explode 0.
- meditation , Base is not recommended .
- Be sure to relax ,
Be nervous after the exam. - listen 《 You copy 》 Other songs
In the game
About compilation errors
- Double underscores are prohibited , such as __gcd
- Get the variable name in Chinese , For example pipe Change to guanzi( Be careful not to use size, next, x0, x1, y0, y1, left, right, max, min, time, Otherwise, he will die miserably )
- Don't change the code at the end of the exam , To the end CE Is it miserable
- Silly , Commit without running
- Forget to play NOI Linux It's running
About WA
- Turn the array small , Especially not much smaller ( such as int a[200], And then I visited a[200]), There's something magical (UB);
- Be sure to take photos , Especially the conclusion question ( Greedy question )、 Data structure and d p dp dp topic , Data needs to be stronger .
- The function of judging which part is wrong , It wasn't even written at all
- It's hard to empty , detonation 0 Two lines of tears
- No special judgment , Especially trees / It's just 1-2 When there are nodes
- Overflowed …… Did you take the mold ? Did you write high precision ?
- A cause of shame —— Mix fast reading with ios Optimize
syn Optimize
About TLE/MLE/RE
RE:
- Your array is down , Please turn it up
- Your modulus won't be 0 Well ……
MLE:
It's horrible , One point MLE The whole sentence is 0 0 0 Divide up
-
The array is too big ……
Be careful ,int You can only drive to 8 × 1 0 7 8×10^7 8×107, long long You can only drive to 4 × 1 0 7 4×10^7 4×107 -
d f s dfs dfs when :
void dfs(int now,int fath)
{
int a[200005];
for (int i=head[now];i;i=e[i].next)
{
if (e[i].to!=fath) dfs(e[i].to,now);
}
}
When the tree is a chain , Just MLE 了 ……
TLE:
- Please identify the time complexity of your program
- No use memset, Never use this function , Pit the dead
- You're stuck , Optimize it
About unconventional questions
- The answer question is not submitted by writing code
- Don't play with interactive questions fflush(stdout);
About file manipulation / file name
- Check the file operation carefully !
- Don't write your admission card number wrong ,
Then you will AK Become someone else AK 了 …… - Upload failed , Please confirm the number of bytes you submitted with the invigilator after you submit the code .
About strategy
This is a duyi Giant guy's Examination Strategy , The original link is in this
My exam strategy is (CSP-S):
Look at all the questions first .
①T1 Cut off , Or think about it for a while , It should be able to do it anyway , Restriction on 30 30 30 Within minutes
②T2 Fierce and strong , flowers 1.5 h 1.5h 1.5h about , High marks or guarantees AC Look at the rear drive T3
③T3 Fierce and strong , word 1.5 h 1.5h 1.5h about , High marks or guarantees AC Go to see T4
④T4 flowers 15 − 20 15-20 15−20 Minutes of violence ;
⑤ Check something , Like file manipulation 、 file name 、 The number of bytes and so on ;
⑥ Check with the invigilator after you hand in the paper , And leave the examination room quickly , Go back to culture class
Particular attention , I am here. T 1 , T 2 , T 3 , T 4 T1, T2, T3, T4 T1,T2,T3,T4 It corresponds to four different levels of difficulty in the test paper , Not in order A , B , C , D A,B,C,D A,B,C,D topic .
About the way of thinking
- Be sure to play with the sample !
- I won't think twice
- Skillfully use root sign divide and conquer
- You have to look at the data range ,T1 You don't have to look at the parts ,T2, T3 It is suggested that we should take a good look at some points
① what ? n ≤ 100 , t ≤ 1 0 18 n≤100, t≤10^{18} n≤100,t≤1018? This is the moment multiplication !
② what ? n ≤ 1 0 4 n≤10^4 n≤104? This is often a card problem or big data structure problem .
…… - At least think about a topic 30 30 30 minute , You have to think it's simple , Or you can't even think about it .
- Mathematical induction 、 Looking for a regular
版权声明
本文为[osc_lnhxmt4i]所创,转载请带上原文链接,感谢
边栏推荐
- Setting up a proxy for the WGet command
- Tutorial system unity online course double 11 preferential registration is in progress
- Android check box and echo
- Navigation component of Android architecture (2)
- Well, these four ways to query the maximum value of sliding window are good
- IDEA rest-client,会了它我还没打开过postman
- 分库分表的 9种分布式主键ID 生成方案,挺全乎的
- 实现商品CRUD操作
- android studio AIDL的使用
- Android Development - service application, timer implementation (thread + service)
猜你喜欢
为什么我强烈建议要定制开发小程序,这些好处你需要了解
Why I strongly recommend custom development of small programs, these benefits you need to understand
The third way to realize webrtc in embedded devices
Introduction to zero based im development (4): what is message timing consistency in IM systems?
导师制Processing网课 双十一优惠进行中
vscode 插件配置指北
Clock service Android implementation of alarm clock
Android NDK development and actual combat WeChat official account 2-D code detection
Android NDK 开发实战 - 微信公众号二维码检测
In the future, China Telecom will make cloud computing service the main business of China Telecom
随机推荐
The use of Android studio Aidl
Android check box and echo
Pay attention to the request forwarding problem of. Net core
A simple ability determines whether you will learn!
Using rem, the font size changes when the screen zooms
Four steps of Android integrated payment
分库分表的 9种分布式主键ID 生成方案,挺全乎的
Handwriting Koa.js Source code
A simple way to realize terminal text paste board
如何用函数框架快速开发大型 Web 应用 | 实战
IDEA解决yml配置文件中文输出乱码问题
Android studio import customized framework classess.jar As 4.0.1 version is valid for pro test
Technology and beauty are so expensive, it's better to find consultants | aalab enterprise consulting business
Several methods of initializing singleton variable in go language
Is SEO right or wrong?
Python zero basics tutorial (01)
AI fresh student's annual salary has increased to 400000, you can still make a career change now!
分库分表的 9种分布式主键ID 生成方案,挺全乎的
Efficient Estimation of Word Representations in Vector Space 论文笔记
List of wechat video Number broadcasters October 2020