提交记录 3472


用户 题目 状态 得分 用时 内存 语言 代码长度
zhouyuyang 2001. 元旦激光炮·改 Compile Error 0 0 ns 0 KB C++ 398 B
提交时间 评测时间
2018-07-15 18:54:19 2020-07-31 21:17:41
#include<cmath>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
#include"kth.h"
using namespace std;
int query_kth(int na,int nb,int nc,int k){
	int a=0,b=0,c=0;
	int mn,t;
	for (;k;k-=t+1){
		t=(k-2)/3;
		int s1=get_a(a+t);
		int s2=get_b(b+t);
		int s3=get_c(c+t);
		mn=min(s1,min(s2,s3));
		if (s1==mn) a+=t+1;
		else if (s2==mn) b+=t+1;
		else c+=t+1;
	}
	return mn;
} 

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-18 12:35:10 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠