5 条题解

  • 0
    @ 2025-7-14 17:31:59
     植物不战僵尸 LV 3 @ 3 分钟前 
    #include<bits/stdc++.h> 
    using namespace std;
    int n,m,s,f,t;
    bool a[101];
    int main() 
    {
    cin>>n>>m;
    cout<<endl; 
    for(t=1;t<=n;++t)
    a[t]=false; 
    f=0;
    t=0;
    s=0;
    a[t]false)++s; 
    if(sm)
    {
    s=0; cout<<t<<" "; 
    a[t]=true; 
    f++;
    } }while(f!=n); 
    return 0; }
    
    

    信息

    ID
    274
    时间
    1000ms
    内存
    128MiB
    难度
    7
    标签
    递交数
    43
    已通过
    9
    上传者