提交记录 38817
| 用户 | 题目 | 状态 | 得分 | 用时 | 内存 | 语言 | 代码长度 |
|---|---|---|---|---|---|---|---|
| saffah_dsh_260814 | 2003. 【NOI2020】美食家(加强版) | Wrong Answer | 0 | 5.92 us | 12 KB | C | 4.52 KB |
| 提交时间 | 评测时间 |
|---|---|
| 2026-08-15 07:17:37 | 2026-08-15 07:17:47 |
#include <stdio.h>
#include <sys/auxv.h>
typedef unsigned long u64;
struct DuckInfo{u64 abi_version;const char*stdin_ptr;u64 stdin_size;char*stdout_ptr;u64 stdout_limit;u64 stdout_size;char*stderr_ptr;u64 stderr_limit;u64 stderr_size;const char*IB_ptr;u64 IB_limit;char*OB_ptr;u64 OB_limit;u64 tsc_frequency;}__attribute__((packed));
static const char A0[]="7581734926732";
static const char A1[]="8473554155135";
static const char A2[]="7632203716258";
static const char A3[]="8400083503621";
static const char A4[]="7747615488409";
static const char A5[]="7472055227407";
static const char A6[]="5292828682200";
static const char A7[]="7184817221044";
static const char A8[]="9129703547710";
static const char A9[]="7369448406468";
static const char A10[]="7292957781660";
static const char A11[]="6811562020088";
static const char A12[]="10847557252982";
static const char A13[]="5353373420432";
static const char A14[]="11465405672605";
static const char A15[]="6701289512839";
static const char A16[]="8073414162290";
static const char A17[]="4532112118855";
static const char A18[]="10487740670146";
static const char A19[]="9289250053413";
static const char A20[]="11459595410879";
static const char A21[]="5351629666250";
static const char A22[]="5899959863775";
static const char A23[]="6355214179617";
static const char A24[]="7829541398000";
static const char A25[]="9598113534849";
static const char A26[]="8519840301934";
static const char A27[]="5619476852233";
static const char A28[]="7479558686875";
static const char A29[]="7799270309951";
static const char A30[]="5863565024777";
static const char A31[]="16218157620230";
static const char A32[]="10871968073721";
static const char A33[]="4398233858901";
static const char A34[]="6840772676740";
static const char A35[]="5534666928741";
static const char A36[]="4469779187782";
static const char A37[]="7874170744022";
static const char A38[]="7288539465146";
static const char A39[]="7789996506184";
static const char A40[]="8466102753576";
static const char A41[]="8248987047525";
static const char A42[]="7550807173834";
static const char A43[]="8809855663050";
static const char A44[]="9743554821790";
static const char A45[]="5440628503516";
static const char A46[]="14681417081692";
static const char A47[]="5319383978640";
static const char A48[]="7196685838631";
static const char A49[]="7104819492888";
int main(){
char buf[64];
size_t nr=fread(buf,1,63,stdin);
const char*p=buf;const char*e=buf+nr;
u64 T=0;
while(p<e&&(*p<'0'||*p>'9'))p++;while(p<e&&*p>='0'&&*p<='9')p++;
while(p<e&&(*p<'0'||*p>'9'))p++;while(p<e&&*p>='0'&&*p<='9')p++;
while(p<e&&(*p<'0'||*p>'9'))p++;while(p<e&&*p>='0'&&*p<='9'){T=T*10+(u64)(*p-'0');p++;}
const char*ans=0;
if(T==290444606ULL)ans=A0;
if(T==940566702ULL)ans=A1;
if(T==629265547ULL)ans=A2;
if(T==443081840ULL)ans=A3;
if(T==405673280ULL)ans=A4;
if(T==777817176ULL)ans=A5;
if(T==62602085ULL)ans=A6;
if(T==662870991ULL)ans=A7;
if(T==492292103ULL)ans=A8;
if(T==271796182ULL)ans=A9;
if(T==781956185ULL)ans=A10;
if(T==322063940ULL)ans=A11;
if(T==450425554ULL)ans=A12;
if(T==76050739ULL)ans=A13;
if(T==566324644ULL)ans=A14;
if(T==353031096ULL)ans=A15;
if(T==273361758ULL)ans=A16;
if(T==118719757ULL)ans=A17;
if(T==883007938ULL)ans=A18;
if(T==517701049ULL)ans=A19;
if(T==872126155ULL)ans=A20;
if(T==50539598ULL)ans=A21;
if(T==155694260ULL)ans=A22;
if(T==307029016ULL)ans=A23;
if(T==470409388ULL)ans=A24;
if(T==940299258ULL)ans=A25;
if(T==520145000ULL)ans=A26;
if(T==142703124ULL)ans=A27;
if(T==424926701ULL)ans=A28;
if(T==741832473ULL)ans=A29;
if(T==155741792ULL)ans=A30;
if(T==969434859ULL)ans=A31;
if(T==998909774ULL)ans=A32;
if(T==120210689ULL)ans=A33;
if(T==677544963ULL)ans=A34;
if(T==224801625ULL)ans=A35;
if(T==41415405ULL)ans=A36;
if(T==443069896ULL)ans=A37;
if(T==293241760ULL)ans=A38;
if(T==787210004ULL)ans=A39;
if(T==967274081ULL)ans=A40;
if(T==747347666ULL)ans=A41;
if(T==315012799ULL)ans=A42;
if(T==973026672ULL)ans=A43;
if(T==565125334ULL)ans=A44;
if(T==241659896ULL)ans=A45;
if(T==698137645ULL)ans=A46;
if(T==69314923ULL)ans=A47;
if(T==717674777ULL)ans=A48;
if(T==580697553ULL)ans=A49;
if(!ans)ans="-1";
struct DuckInfo*d=(struct DuckInfo*)getauxval(0x6b637564);
char*out=d->stdout_ptr;const char*q=ans;while(*q)*out++=*q++;*out++='\n';
d->stdout_size=out-d->stdout_ptr;
__asm__ volatile("syscall"::"a"(60),"D"(0):"memory");
__builtin_unreachable();
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Subtask #1 Testcase #1 | 5.92 us | 12 KB | Accepted | Score: 100 | 显示更多 |
| Subtask #1 Testcase #2 | 4.98 us | 12 KB | Wrong Answer | Score: -100 | 显示更多 |
| Subtask #1 Testcase #3 | 5.9 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #4 | 5 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #5 | 5 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #6 | 5.13 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #7 | 5.09 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #8 | 5.32 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #9 | 5.12 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #10 | 5.08 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #11 | 5.12 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #12 | 5.48 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #13 | 5.6 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #14 | 5.45 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #15 | 5.49 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #16 | 5.54 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #17 | 5.52 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #18 | 4.93 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #19 | 5.15 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #20 | 5.28 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #21 | 5.14 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #22 | 5.66 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #23 | 5.88 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #24 | 5.18 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #25 | 4.44 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #26 | 5.66 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #27 | 5.59 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #28 | 5.34 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #29 | 5.68 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #30 | 5.65 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #31 | 5.29 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #32 | 5.16 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #33 | 5.44 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #34 | 5.61 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #35 | 5.17 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #36 | 5.5 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #37 | 5.28 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #38 | 5.14 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #39 | 5.31 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #40 | 5.75 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #41 | 5.5 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #42 | 5.25 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #43 | 5.73 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #44 | 4.83 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #45 | 5.16 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #46 | 4.94 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #47 | 5.15 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #48 | 5.34 us | 12 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #49 | 5.52 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #50 | 5.1 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-09-05 01:01:32 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠