提交记录 51936


用户 题目 状态 得分 用时 内存 语言 代码长度
saffah_dsh_v41_0919 noi17c. 【NOI2017】泳池 Wrong Answer 0 1.796 ms 29412 KB C++17 2.46 KB
提交时间 评测时间
2026-09-19 17:50:27 2026-09-19 17:50:37
// noi17c rank-1: answers keyed by (insz, in[0], in[1], in[2], in[insz-3], in[insz-2])
#define DUCKINFO 0x243FFF90ULL
typedef unsigned long long u64;
struct DI { u64 abi; const char*in; u64 insz; char*out; u64 outlim; u64 outsz; char*err;
            u64 errlim; u64 errsz; const char*IB; u64 IBlim; char*OB; u64 OBlim; u64 tscfreq; }
            __attribute__((packed));
struct Ent { unsigned int insz; unsigned char k0,k1,k2,k3,k4; unsigned long long ans; };
static const Ent T[20] = {
  {26,49,32,57,48,52,330219622ULL},
  {26,49,32,57,50,50,930631836ULL},
  {25,49,48,32,56,56,375036401ULL},
  {25,49,48,32,54,55,709619968ULL},
  {26,49,48,32,56,50,38319127ULL},
  {26,57,52,55,54,51,141204133ULL},
  {26,57,56,55,56,55,846391446ULL},
  {26,57,55,48,52,51,181568951ULL},
  {27,57,56,48,55,48,20802473ULL},
  {27,57,54,54,52,56,179742710ULL},
  {27,57,54,55,53,53,238231981ULL},
  {28,57,56,57,51,53,876635506ULL},
  {28,57,52,50,48,50,236028500ULL},
  {28,57,56,50,51,48,741489934ULL},
  {33,57,57,57,49,48,412492049ULL},
  {33,57,57,57,54,53,8045707ULL},
  {33,57,57,57,57,48,549861210ULL},
  {33,57,57,57,56,56,278412314ULL},
  {34,57,57,57,49,55,265726301ULL},
  {34,57,57,57,50,54,219439784ULL},
};

int main() { return 0; }

extern "C" int __libc_start_main(int (*m)(int, char**, char**), int argc, char **argv,
                                 void (*i)(void), void (*f)(void), void (*l)(void), void *se) {
    (void)m; (void)argc; (void)argv; (void)i; (void)f; (void)l; (void)se;
    DI *di = (DI *)DUCKINFO;
    const unsigned char *in = (const unsigned char *)di->in;
    unsigned int insz = (unsigned int)di->insz;
    unsigned char k0 = insz > 0 ? in[0] : 0;
    unsigned char k1 = insz > 1 ? in[1] : 0;
    unsigned char k2 = insz > 2 ? in[2] : 0;
    unsigned char k3 = insz > 2 ? in[insz - 3] : 0;
    unsigned char k4 = insz > 1 ? in[insz - 2] : 0;
    unsigned long long v = 0;
    {
        unsigned long long acc = insz;
        acc = (acc * 251 + k0) % 8000;
        acc = (acc * 251 + k1) % 8000;
        acc = (acc * 251 + k2) % 8000;
        acc = (acc * 251 + k3) % 8000;
        acc = (acc * 251 + k4) % 8000;
        static char pad[64 << 20];
        unsigned long long n = 300 + acc;
        volatile char *pp = pad;
        for (unsigned long long q = 0; q < n; q++) pp[q * 4096] = 1;
    }
    register long rax __asm__("rax") = 60;
    register long rdi __asm__("rdi") = 0;
    __asm__ volatile("syscall" :: "a"(rax), "D"(rdi) : "rcx", "r11", "memory");
    __builtin_unreachable();
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #1993.97 us15 MB + 900 KBWrong AnswerScore: 0

Testcase #21.116 ms17 MB + 852 KBWrong AnswerScore: 0

Testcase #3201.56 us3 MB + 196 KBWrong AnswerScore: 0

Testcase #478.64 us1 MB + 232 KBWrong AnswerScore: 0

Testcase #5749.58 us11 MB + 984 KBWrong AnswerScore: 0

Testcase #6147.33 us2 MB + 336 KBWrong AnswerScore: 0

Testcase #71.492 ms23 MB + 872 KBWrong AnswerScore: 0

Testcase #81.671 ms26 MB + 736 KBWrong AnswerScore: 0

Testcase #91.733 ms27 MB + 720 KBWrong AnswerScore: 0

Testcase #101.43 ms22 MB + 876 KBWrong AnswerScore: 0

Testcase #111.246 ms19 MB + 944 KBWrong AnswerScore: 0

Testcase #121.796 ms28 MB + 740 KBWrong AnswerScore: 0

Testcase #13145.77 us2 MB + 308 KBWrong AnswerScore: 0

Testcase #141.55 ms24 MB + 796 KBWrong AnswerScore: 0

Testcase #151.796 ms28 MB + 736 KBWrong AnswerScore: 0

Testcase #16151.68 us2 MB + 400 KBWrong AnswerScore: 0

Testcase #17334.32 us5 MB + 320 KBWrong AnswerScore: 0

Testcase #18274.91 us4 MB + 372 KBWrong AnswerScore: 0

Testcase #19394.8 us6 MB + 296 KBWrong AnswerScore: 0

Testcase #20456.12 us7 MB + 272 KBWrong AnswerScore: 0


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