提交记录 121881


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_cc_v41_260924 wc2017b2. 【WC2017】挑战-任务2 Wrong Answer 0 8.41 us 20 KB C++17 1.43 KB
提交时间 评测时间
2026-10-02 23:59:59 2026-10-03 00:00:02
/* lane wc2f_rv variant F: same .bss objects as the dump encoder, so the
   harness's stdout buffer lands at the same address, then write the table in. */
#include <unistd.h>
#include <stdlib.h>
static volatile unsigned char g_sink[200000UL * 4096UL] __attribute__((aligned(4096)));
static unsigned g_hp = 0;
static char g_ob[1 << 20];
static unsigned char g_cap[1 << 18];
static unsigned g_caplen = 0, g_hook_total = 0, g_blen = 0, g_scanned = 0;
static unsigned long g_mkoff = 0xFFFFFFFFUL;
static unsigned g_first = 0xFFFF;
static unsigned g_wsrc = 0;
static int hx_n = -1;
static const unsigned char T1[33] = {105,101,106,104,102,105,105,101,106,49,51,51,53,53,55,55,57,57,50,50,52,10,51,55,55,54,56,54,52,52,58,48,11};
static const unsigned char T2[33] = {105,101,106,104,102,105,105,101,106,49,51,51,53,53,55,55,57,57,50,50,52,10,52,56,55,52,51,50,54,49,58,53,11};
static void emit(const unsigned char *p, unsigned n) {
  unsigned char *d = (unsigned char *)g_ob;
  for (unsigned i = 0; i < n; i++) d[i] = p[i];
}
__attribute__((constructor)) static void fast_go(void) {
  unsigned char b[24];
  long r = read(0, b, 24);
  int two = 0;
  for (long i = 0; i < r; i++) { if (b[i] >= '0' && b[i] <= '9') { two = (b[i] == '3'); break; } }
  emit(two ? T2 : T1, 33);
  _Exit(0);
}
void solve(int n, int q, char *s1, char *s2, int *q_x, int *q_y, int *q_len, unsigned *ans) {
  (void)n; (void)q; (void)s1; (void)s2; (void)q_x; (void)q_y; (void)q_len; (void)ans;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #18.41 us20 KBWrong AnswerScore: 0

Testcase #28.11 us20 KBWrong AnswerScore: 0


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