提交记录 17153


用户 题目 状态 得分 用时 内存 语言 代码长度
Z_301 1007. 测测你的memset Compile Error 0 0 ns 0 KB C++11 842 B
提交时间 评测时间
2021-12-02 16:41:05 2021-12-02 16:41:05
//#pragma GCC optimize(3)
//#pragma GCC optimize("Ofast")
//#pragma GCC optimize("inline")
#include<bits/stdc++.h>
#define For(i,l,r) for(int i=l,i##end=r;i<=i##end;i++)
#define rFor(i,r,l) for(int i=r,i##end=l;i>=i##end;i--)
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
inline void wrt(int x,const char endc=10) {
	static char buf[21],*nw;nw=buf;
	if(!x){putchar(48);goto end;}
	if(x<0)putchar(45),x=-x;
	while(x)*(nw++)=x%10+48,x/=10;
	while(nw!=buf)putchar(*(--nw));
	end:putchar(endc);
}
inline int _isdigit(const char x){return x>47 and x<58;}
inline int rd() {
	static int f,x;
	static char c;
	f=x=0;
	do if((c=getchar())==45)f=1;while(!_isdigit(c));
	do x=(x<<1)+(x<<3)+c-48;while(_isdigit(c=getchar()));
	return f?-x:x;
}
void my_memset(char *a,char c,unsigned n){memset(a,c,n);}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2024-03-29 21:18:36 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用