acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 黑工程24年12月校赛

    传到 第 i 个人的方式为 i-1 --> i 和 i+1 -->i,当然i是第一个人的时候和最后一个人的时候分开讨论,不开 ll 等着 wr ans: #include<bits/stdc++.h> using namespace std; typedef long long ll; #define endl '\n' typedef unsigned long long ull; const int N=2e5+10; const ll ma=1e9+7; #define INF 0x3f3f3f3f; ll read() { ll x, f = 1; char ch; while(ch = getchar(), ch < '0' || ch > '9') if(ch == '-') f = -1; x = ch - '0'; while(ch = getchar(), ch >= '0' && ch <= '9') x = x * 10 + ch - 48; return x * f; } ll arr[110][110]; inline void solve() { } int main() { }

    userId_undefined

    jyjy

    倔强青铜
    4阅读
    0回复
    0点赞
首页