提交记录 49063


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_v41_0919 1000i. 【传统题】 A+B Problem Wrong Answer 0 8.06 us 16 KB C++17 459 B
提交时间 评测时间
2026-09-19 15:44:13 2026-09-19 15:44:41

#include <stdio.h>
static unsigned char buf[64*1024];
extern "C" int main(){
  unsigned long n = (unsigned long) fread(buf,1,sizeof(buf),stdin);
  unsigned long off = 0UL;
  char out[512]; const char* hx="0123456789abcdef"; unsigned len=0;
  for (int i=0;i<256;i++){
    unsigned long p = off + (unsigned long)i;
    if (p >= n) break;
    unsigned char c = buf[p];
    out[len++]=hx[c>>4]; out[len++]=hx[c&15];
  }
  fwrite(out,1,len,stdout);
  return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #18.06 us16 KBWrong AnswerScore: 0


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