提交记录 17956


用户 题目 状态 得分 用时 内存 语言 代码长度
tsy2010 1007. 测测你的memset Compile Error 0 0 ns 0 KB C++ 306 B
提交时间 评测时间
2022-08-16 17:28:14 2022-08-16 17:28:16
#include<bits/stdc++.h>
using namespace std;
char a[2147483658];
long long n,m;
char c;
void memset_but_its_mine(char *a,char c,long long n){
	for(unsigned i=0;i<n;i++) a[i]='c';
}
int main(){
	scanf("%lld",&n,&m);
	scanf("%s",a);
	scanf("%c",&c);
	memset_but_its_mine(a,c,m);
	printf("%s",a);
	return 0;
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-16 17:25:50 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠