2015年8月20日

uva 10036

摘要: 10036 - Divisibility额..直接复制不过来,只好叙述一下了...t组样例,n个数(1~10000),k(2~100)是要取余的数,然后给出n个数第一个数前不能加正负号,其他的数前面可以加正负号,然后问这些正负号任意加,所有的情况中是否有能对k取余得0的情况。若有输出:Di...否则... 阅读全文

posted @ 2015-08-20 14:08 鱼泪儿 阅读(178) 评论(0) 推荐(0) 编辑

codeforces 545E E. Paths and Trees(单源最短路+总权重最小)

摘要: E. Paths and Treestime limit per test:3 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputLittle girl Susie accident... 阅读全文

posted @ 2015-08-20 13:48 鱼泪儿 阅读(402) 评论(0) 推荐(0) 编辑

导航