ICode9

精准搜索请尝试: 精确搜索
  • rock-paper-scissors2019-02-16 11:52:06

    rock-paper-scissors维护三个前缀和,然后注意顺序,最后做差来确定可行的答案,因为答案比较小,可以考虑这种暴力做法,像这种方案数可以++的题真的不多,如果想不出来特别优秀的想法,不妨简单化思维 1 #include<iostream> 2 #include<cstdio> 3 #include<queue> 4 #include<algorithm>

  • River Hopscotch2019-02-08 12:37:44

    题目链接:http://poj.org/problem?id=3258 River Hopscotch Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 22092   Accepted: 9138 Description Every year the cows hold an event featuring a peculiar version of hopscotch that involves ca

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有