提交记录 3474


用户 题目 状态 得分 用时 内存 语言 代码长度
zhouyuyang 2001. 元旦激光炮·改 Compile Error 0 0 ns 0 KB C++ 409 B
提交时间 评测时间
2018-07-15 18:56:29 2020-07-31 21:17:42
#include<cmath>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
int query_kth(const int *A,int na,const int *B,int nb,const int *C,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=A[a+t];
		int s2=B[b+t];
		int s3=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:36:46 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠