Warning: session_start(): open(/tmp/sess_afdbf55dd8d38fc0606a5ec80899e51c, O_RDWR) failed: No space left on device (28) in /data/wiki/inc/init.php on line 239
Warning: session_start(): Failed to read session data: files (path: ) in /data/wiki/inc/init.php on line 239
Warning: Cannot modify header information - headers already sent by (output started at /data/wiki/inc/init.php:239) in /data/wiki/inc/auth.php on line 430
Writing /data/wiki/data/cache/f/f8886a658b612ef944377e4069e541ce.captchaip failed
Warning: Cannot modify header information - headers already sent by (output started at /data/wiki/inc/init.php:239) in /data/wiki/inc/Action/Export.php on line 103
Warning: Cannot modify header information - headers already sent by (output started at /data/wiki/inc/init.php:239) in /data/wiki/inc/Action/Export.php on line 103
Warning: Cannot modify header information - headers already sent by (output started at /data/wiki/inc/init.php:239) in /data/wiki/inc/Action/Export.php on line 103
====== 2020/05/16 牛客假日团队赛41 ======
===== 比赛信息 =====
日期: 2020/05/16
链接: [[https://ac.nowcoder.com/acm/contest/5208#question]]\\
做题统计:王瑞琦: 冯宇扬: 常程:2\\
===== 题解 =====
==== A ====
solved by, upsolved by .\\
题意:\\
题解:
==== B photo ====
solved by 常程, upsolved by .\\
题意:N($2\le N\le10^9$)头牛站成一排照相。有K($1\le K\le1000$)对牛不想被照在同一张相片里。求最少照的次数。\\
题解:这道题在中途分界并没有能减少照的次数————不冲突的分配给那个区间都无所谓,冲突的必须分区间,因此直接贪心,发现矛盾就换区间。\\
#include
#include
==== C ====
solved by, upsolved by .\\
题意:\\
题解:
==== D ====
solved by, upsolved by .\\
题意:\\
题解:
==== E ====
solved by, upsolved by .\\
题意:\\
题解:
==== F ====
solved by, upsolved by .\\
题意:\\
题解:
==== G ====
solved by, upsolved by .\\
题意:\\
题解:
==== H ====
solved by, upsolved by .\\
题意:\\
题解:
==== I ====
solved by 常程, upsolved by .\\
题意:N($1\le N\le5\times10^4$)只牛排成一排,每只牛有一个id,id相同、距离不到K($1\le K
#include
#include
==== J ====
solved by, upsolved by .\\
题意:\\
题解:
==== K ====
solved by, upsolved by .\\
题意:\\
题解:
==== L ====
solved by, upsolved by .\\
题意:\\
题解:
===== replay =====
===== 总结 =====