提交记录 4983
| 用户 | 题目 | 状态 | 得分 | 用时 | 内存 | 语言 | 代码长度 |
|---|---|---|---|---|---|---|---|
| WAAutoMaton | 1007. 测测你的memset | Compile Error | 0 | 0 ns | 0 KB | C++11 | 156 B |
| 提交时间 | 评测时间 |
|---|---|
| 2018-08-03 14:29:32 | 2020-08-01 00:02:04 |
void my_memset(char* a, char c, unsigned n)
{
++n;
__asm("rep stosl"
:
: "D"(a), "c"(n / 4), "a"((unsigned char)c * 0x1010101)
: "memory");
}
| Compilation | N/A | N/A | Compile Error | Score: N/A | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-12 15:50:07 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠