首页
比赛
tracker
题库
课程
竞赛讨论区
登录
/
注册
去牛客
首页
>
小红拿石子1.0
5条解析
开通博客写题解
Erua
发表于 2026-02-05 00:56:12
#include <bits/stdc++.h> using namespace std; using ll = long long; #define endl '\n' using vi = vector<int>; using vll = vector<ll>
展开全文
自由的风0450
发表于 2025-11-29 16:17:34
#include <iostream> #include<queue> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n;
展开全文
Z史蒂夫
发表于 2026-01-21 17:48:36
#include <iostream> using namespace std; #include<vector> #include<algorithm> int main() { ios::sync_with_stdio(0); cin.tie(
展开全文
lao_xiao
发表于 2026-02-21 15:21:19
#include <iostream> #include <algorithm> using namespace std; typedef long long LL; const int N = 2e5 + 10; int a[N]; int main() {
展开全文
Drink0318
发表于 2025-12-12 10:37:40
import sys n = int(input()) lst = list(map(int,sys.stdin.read().split())) lst.sort() h = 0 for i in range(n): #每次拿小紫也会拿,第0次小紫拿0个,以此类推每一堆会在相应回合少i
展开全文
查看本题
查看本题讨论
相关比赛
121952-牛客周赛 Round 118
进入比赛
121956-牛客周赛118内测
进入比赛
123424-2025东大成贤程序设计大赛
进入比赛
123583-周末测试
进入比赛
124015-曲师大ACM第一次选拔赛
进入比赛
等你来战
查看全部
牛客周赛 Round 134
报名截止时间:2026-03-08 21:00
牛客练习赛149
报名截止时间:2026-03-13 21:30
【小羊肖恩】小羊杯 Round 3
报名截止时间:2026-03-15 18:00
牛客周赛 Round 135
报名截止时间:2026-03-15 21:00
牛客小白月赛130
报名截止时间:2026-03-20 21:00
CACPC - 环海岸线联盟联合校赛决赛(同步赛)
报名截止时间:2026-03-21 18:00
扫描二维码,关注牛客
意见反馈
下载牛客APP,随时随地刷题