边界

/标签:边界

ACM学习笔记之1——论边界的重要性

昨天在codeforces上做题的时候,做到一道题把我WA到死(绝望),后来发现自己忘记考虑了一堆边界条件(我是真的菜),在这里重新回顾一下我的艰辛的做题过程。 题目:Codeforces-977C-Less or Equal 因为本人比较菜,而且题目也比较简单,我就直接放出AC代码然后在上面做注释说明了。 #include<iostream> #include<string> #include<algorithm> #include<cstdio> #include<vector> [...]

发布者 | 2019-07-02T03:03:13+08:00 11月 28th, 2018|ACM, 学习笔记|0条评论
召唤伊斯特瓦尔

Warning: Use of undefined constant plugin_Live2dHistoire_talk1 - assumed 'plugin_Live2dHistoire_talk1' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 116

Warning: Use of undefined constant plugin_Live2dHistoire_talk1 - assumed 'plugin_Live2dHistoire_talk1' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 117

Warning: Use of undefined constant plugin_Live2dHistoire_talk2 - assumed 'plugin_Live2dHistoire_talk2' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 119

Warning: Use of undefined constant plugin_Live2dHistoire_talk2 - assumed 'plugin_Live2dHistoire_talk2' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 120

Warning: Use of undefined constant plugin_Live2dHistoire_talk3 - assumed 'plugin_Live2dHistoire_talk3' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 122

Warning: Use of undefined constant plugin_Live2dHistoire_talk4 - assumed 'plugin_Live2dHistoire_talk4' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 125

Warning: Use of undefined constant plugin_Live2dHistoire_talk5 - assumed 'plugin_Live2dHistoire_talk5' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 128

Warning: Use of undefined constant plugin_Live2dHistoire_bgm1 - assumed 'plugin_Live2dHistoire_bgm1' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 132

Warning: Use of undefined constant plugin_Live2dHistoire_bgm1 - assumed 'plugin_Live2dHistoire_bgm1' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 133

Warning: Use of undefined constant plugin_Live2dHistoire_bgm2 - assumed 'plugin_Live2dHistoire_bgm2' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 135

Warning: Use of undefined constant plugin_Live2dHistoire_bgm2 - assumed 'plugin_Live2dHistoire_bgm2' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 136

Warning: Use of undefined constant plugin_Live2dHistoire_bgm3 - assumed 'plugin_Live2dHistoire_bgm3' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 138

Warning: Use of undefined constant plugin_Live2dHistoire_bgm3 - assumed 'plugin_Live2dHistoire_bgm3' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 139

Warning: Use of undefined constant plugin_Live2dHistoire_bgm4 - assumed 'plugin_Live2dHistoire_bgm4' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 141

Warning: Use of undefined constant plugin_Live2dHistoire_bgm4 - assumed 'plugin_Live2dHistoire_bgm4' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 142

Warning: Use of undefined constant plugin_Live2dHistoire_bgm5 - assumed 'plugin_Live2dHistoire_bgm5' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 144

Warning: Use of undefined constant plugin_Live2dHistoire_bgm5 - assumed 'plugin_Live2dHistoire_bgm5' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 145

Warning: Use of undefined constant plugin_Live2dHistoire_jq - assumed 'plugin_Live2dHistoire_jq' (this will throw an Error in a future version of PHP) in /data/wwwroot/wordpress/wp-content/plugins/Live2dHistoire/index.php on line 148