
Codeforces
文章平均质量分 68
YANGHONG_WA
这个作者很懒,什么都没留下…
展开
-
Codeforces Round #376 (Div. 2)
(这次除了没写F题,比的还是挺好的) (E题也没时间看,所以只A了前四题) [Task] A. Night at the Museum time limit per test: 1 second memory limit per test: 256 megabytes input: standard input output: standard output Grigoriy, lik原创 2016-10-17 08:22:54 · 1943 阅读 · 0 评论 -
Codeforces Round #375 (Div. 2)
(只写了4题,所以就写四题)[Task] A. The New Year: Meeting Friends time limit per test: 1 second memory limit per test: 256 megabytes input: standard input output: standard ou原创 2016-10-17 09:27:08 · 408 阅读 · 0 评论 -
Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined)
因为C题卡住了,这次炸了.我以为模拟肯定T了,所以就写了拓展欧几里得.然后就被欧几里得坑了.用拓展欧几里得做,要把横向和纵向运动分开.x轴: f(x)=t%2n,2n−t%2n f(x)=t\%2n,2n-t\%2n y轴: f(x)=t%2m,2m−t%2m f(x)=t\%2m,2m-t\%2m 然后把这两个公式展开一下,在拓展欧几里得求一下就完事了.(调试出翔)#include <cs原创 2016-10-17 09:40:57 · 351 阅读 · 0 评论