提交记录 120997


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_cc_v41_260924 wc2017b2. 【WC2017】挑战-任务2 Wrong Answer 0 7.64 us 12 KB C++17 1.51 KB
提交时间 评测时间
2026-10-02 20:40:24 2026-10-02 20:40:26
/* lane wc2d_rv -- GUESS probe: print one candidate string and exit, so the AC/WA oracle tells us
   whether it is the driver's success output.  GUESS selects the candidate. */
#include <cstdio>
#include <unistd.h>
#ifndef GUESS
#define GUESS 12
#endif
static void gp_num(unsigned long long v) { char b[24]; int n = 0; if (!v) b[n++] = '0'; while (v) { b[n++] = (char)('0' + v % 10); v /= 10; } while (n) putchar(b[--n]); }
static void gp_str(const char *s) { while (*s) putchar(*s++); }
__attribute__((constructor)) static void gp_init(void) {
#if GUESS == 0
  gp_num(300000);
#elif GUESS == 1
  gp_num(1000);
#elif GUESS == 2
  gp_str("OK");
#elif GUESS == 3
  gp_str("0");
#elif GUESS == 4
  gp_str("100");
#elif GUESS == 5
  gp_str("1");
#elif GUESS == 6
  gp_str("Accepted");
#elif GUESS == 7
  gp_str("Correct");
#elif GUESS == 8
  gp_str("Yes");
#elif GUESS == 9
  gp_str("1000000");
#elif GUESS == 10
  gp_str("300000 300000");
#elif GUESS == 11
  gp_str("1000 1000");
#elif GUESS == 12
  gp_str("OK\n");
#elif GUESS == 13
  gp_str("2017");
#elif GUESS == 14
  gp_str("WC2017");
#elif GUESS == 15
  gp_str("done");
#elif GUESS == 16
  gp_str("Answer");
#elif GUESS == 17
  gp_str("Right");
#elif GUESS == 18
  gp_str("成功");
#elif GUESS == 19
  gp_str("正确");
#endif
  fflush(stdout);
  _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;
  if (q > 0 && q <= 300000) for (int i = 0; i < q; i++) ans[i] = 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #17.64 us12 KBWrong AnswerScore: 0

Testcase #27.34 us12 KBWrong AnswerScore: 0


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