starcy's Blog

Hi, glad to meet you.

notes for CSP-S 2019

starcy's Avatar 2019-11-14 Tips

  1. 1. 配置
  2. 2. 注意事项

配置

终端配置首选项:前景、背景、调色方案(Tango)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
se nu rnu ru is hls sc list cul ts=4 sw=4 so=4 bs=2 lcs=tab:\|\-
filetype plugin indent on
color torte
syntax on
hi SpecialKey ctermfg=DarkCyan
hi CursorLine cterm=None ctermbg=4
hi CursorLineNr cterm=None

" let mapleader=" "
map <F9> :!g++ % -o %< -Wall -std=c++98<CR>
map <C-F9> :!g++ % -o %< -Wall -O2 -std=c++11<CR>
map <F10> :!./%<CR>
map <F1> :!<CR>
" map <leader>y ggvG$"+y
" map <leader>p ggvG$"+p
no j gj
no k gk
no gj j
no gk k

注意事项

  • 保持冷静,不要自己挖坑自己跳,简单题注意千万不要挂分。
  • 记得(先)写暴力,做不出题不要慌,通常是在原地转圈,这时候问问自己在干什么,需要求什么,接下来应该尝试什么,不要五分钟过去了什么都没做。
  • 想清楚了再开始写,不要写了一大段发现自己写了假代码。
  • 记得测极限数据,数组开大,也要记得算内存。
  • 不要尝试超出自己能力范围的算法(自闭就自闭不过就是学文化课),该拿部分分就拿部分分。
  • 留出时间测试文件,注意是否#include <cstdio>(以及其它头文件),记得关流同步,删掉调试等。
  • 编译不要开C++11
  • 不要随便删代码,记得注释,当然也不要随便删文件。
  • 考完不要想题,也不要讨论题(请各位讨论题目的时候离我远一点,yjx听到任何答案都会心态崩掉),该颓就颓,该泼就泼,好好睡觉,等待退役。
This article was last updated on days ago, and the information described in the article may have changed.