网站首页 站内搜索

搜索结果

查询Tags标签: Heads,共有 3条记录
  • [Bug0034] Git报错 cannot lock ref 'refs/heads/master': is at xxxx but expected xxx error:

    1、问题 error: update_ref failed for ref refs/heads/master: cannot lock ref refs/heads/master: is at 63654e79f7ae0f902731558b3ae6679a69db09e9 but expected ec20d6ffa52920358e54703f90100bedbca4c855 error: could not update refs/heads/master 2、场景 由于为…

    2022/7/28 23:24:27 人评论 次浏览
  • PTA 1166 Summit (25 分)

    1166 Summit (25 分) A summit (峰会) is a meeting of heads of state or government. Arranging the rest areas for the summit is not a simple job. The ideal arrangement of one area is to invite those heads so that everyone is a direct friend of everyone. …

    2022/2/23 6:21:43 人评论 次浏览
  • P2926 [USACO08DEC]Patting Heads S

    原题链接 考察:约数 这题很久以前做过一次,但我没写博客,结果再来一次我还是不会(.) 错误思路:倍数法求每个a[i]的倍数,基本代码如下: for(int i=1;i<=n;i++) {scanf("%d",&a[i]);for(int j=1;j<=M/a[i];j++)sum[j*a[i]]++; }一旦数据出现大量1+1e6或…

    2021/6/1 18:21:54 人评论 次浏览
扫一扫关注最新编程教程