当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- The history of C1 research in Shenzhen
- 深圳C1考证历程
- 实现商品CRUD操作
- Suning's practice of large scale alarm convergence and root cause location based on Knowledge Map
- Visual Studio (MAC) installation process notes
- Mobile security reinforcement helps app achieve comprehensive and effective security protection
- Android Development - service application, timer implementation (thread + service)
- 微信视频号播主排行榜2020年10月
- 导师制Unity网课 双十一优惠报名进行中
- Visit Jingdong | members of Youth Innovation Alliance of China Academy of space technology visit Jingdong headquarters
猜你喜欢

TiDB x 微众银行 | 耗时降低 58%,分布式架构助力实现普惠金融

Handwriting Koa.js Source code

移动安全加固助力 App 实现全面、有效的安全防护

多线程真的比单线程快?

通配符SSL证书应该去哪里注册申请

The third way to realize webrtc in embedded devices

线上服务的FGC问题排查,看这篇就够了!

实现商品CRUD操作

iPhone“连到系统上的设备没有发挥作用”原因分析及解决方法 20200105

Download Netease cloud music 10W + music library with Python
随机推荐
Rainbow sorting | Dutch flag problem
Android rights
Tidb x micro banking reduces time consumption by 58%, and distributed architecture helps to realize inclusive finance
Visit Jingdong | members of Youth Innovation Alliance of China Academy of space technology visit Jingdong headquarters
In the future, China Telecom will make cloud computing service the main business of China Telecom
Reduce of Flink
苏宁基于知识图谱的大规模告警收敛和根因定位实践
Several methods of initializing singleton variable in go language
Use treeview tree menu bar (recursively call database to create menu automatically)
Interface tests how to pass files in post requests
深圳C1考证历程
除了解析域名,DNS还能干吗?
20201107第16课,使用Apache服务部署静态网站;使用Vsftpd服务传输文件
从汇编的角度看pdb文件
What are the implementations of distributed locks?
On the calculation of non interaction polarizability
Adobe Experience Design /Xd 2020软件安装包(附安装教程)
Fedora 33 Workstation 的新功能
使用TreeView树型菜单栏(递归调用数据库自动创建菜单)
Navigation component of Android architecture (2)