当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 深圳C1考证历程
- iPhone“连到系统上的设备没有发挥作用”原因分析及解决方法 20200105
- Handwriting Koa.js Source code
- FGC online service troubleshooting, this is enough!
- Android NDK development and actual combat WeChat official account 2-D code detection
- 移动安全加固助力 App 实现全面、有效的安全防护
- 10款必装软件,让Windows使用效率飞起!
- 除了解析域名,DNS还能干吗?
- 为wget命令设置代理
- Ali, Tencent, Baidu, Netease, meituan Android interview experience sharing, got Baidu, Tencent offer
猜你喜欢

New features of Fedora 33 workstation

A simple ability determines whether you will learn!

From coding, network transmission, architecture design, Tencent cloud high quality, high availability real-time audio and video technology practice

Fedora 33 Workstation 的新功能

Decrypting the future database design: implementation of mongodb's new storage engine wiredtiger (transaction)

Tutorial system unity online course double 11 preferential registration is in progress

Well, these four ways to query the maximum value of sliding window are good

Using rem, the font size changes when the screen zooms

Idea solves garbled Chinese output of YML configuration file

AI fresh student's annual salary has increased to 400000, you can still make a career change now!
随机推荐
技美那么贵,不如找顾问 | AALab企业顾问业务
AI fresh student's annual salary has increased to 400000, you can still make a career change now!
Interface tests how to pass files in post requests
块级元素和行内元素
Fedora 33 Workstation 的新功能
IDEA解决yml配置文件中文输出乱码问题
“开源软件供应链点亮计划 - 暑期 2020”公布结果 基于 ChubaoFS 开发的项目获得最佳质量奖
For and for... In, for each and map and for of
Android studio AVD
Three practical skills of Medical Project Management
Visual Studio (MAC) installation process notes
An attempt to read or write to protected memory occurred using the CopyMemory API. This usually indicates that other memory is corrupted.
Configure switch trunk interface traffic local priority forwarding (cluster / stack)
Reduce of Flink
医疗项目管理的三种实用技巧
【golang】GC详解
Handwriting Koa.js Source code
SQL Chapter 2 Chapter 3
导师制Processing网课 双十一优惠进行中
Android NDK 开发实战 - 微信公众号二维码检测