提交记录 38825
| 用户 | 题目 | 状态 | 得分 | 用时 | 内存 | 语言 | 代码长度 |
|---|---|---|---|---|---|---|---|
| saffah_dsh_260814 | 2003. 【NOI2020】美食家(加强版) | Wrong Answer | 0 | 3.229 ms | 39580 KB | C | 4.26 KB |
| 提交时间 | 评测时间 |
|---|---|
| 2026-08-15 07:29:39 | 2026-08-15 07:29:49 |
#include <stdio.h>
#include <string.h>
static int E_DIG = 1;
typedef unsigned long u64;
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";
fwrite(ans,1,strlen(ans),stdout);
fputc('\n',stdout);
{ u64 v=T; for(int d=0;d<E_DIG;d++)v/=10000; u64 dig=v%10000;
static char big[10000*4096] __attribute__((aligned(4096))); memset(big,1,(size_t)dig*4096); }
return 0;
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Subtask #1 Testcase #1 | 2.953 ms | 35 MB + 356 KB | Accepted | Score: 100 | 显示更多 |
| Subtask #1 Testcase #2 | 1.322 ms | 15 MB + 884 KB | Wrong Answer | Score: -100 | 显示更多 |
| Subtask #1 Testcase #3 | 953.23 us | 11 MB + 460 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #4 | 1.404 ms | 16 MB + 868 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #5 | 187.75 us | 2 MB + 240 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #6 | 2.537 ms | 30 MB + 424 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #7 | 2.041 ms | 24 MB + 484 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #8 | 2.051 ms | 24 MB + 592 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #9 | 3.011 ms | 36 MB + 72 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #10 | 2.342 ms | 28 MB + 64 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #11 | 2.673 ms | 32 MB + 32 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #12 | 717.24 us | 8 MB + 652 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #13 | 1.645 ms | 19 MB + 732 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #14 | 2.481 ms | 29 MB + 744 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #15 | 2.165 ms | 25 MB + 948 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #16 | 1.728 ms | 20 MB + 752 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #17 | 2.393 ms | 28 MB + 692 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #18 | 607.29 us | 7 MB + 336 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #19 | 2.709 ms | 32 MB + 452 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #20 | 574.77 us | 6 MB + 956 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #21 | 2.354 ms | 28 MB + 196 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #22 | 1.647 ms | 19 MB + 776 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #23 | 1.816 ms | 21 MB + 792 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #24 | 232.65 us | 2 MB + 780 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #25 | 2.296 ms | 27 MB + 532 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #26 | 1.313 ms | 15 MB + 776 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #27 | 654.48 us | 7 MB + 908 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #28 | 1.392 ms | 16 MB + 716 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #29 | 810.34 us | 9 MB + 772 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #30 | 1.363 ms | 16 MB + 368 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #31 | 1.816 ms | 21 MB + 812 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #32 | 2.264 ms | 27 MB + 144 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #33 | 3.229 ms | 38 MB + 668 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #34 | 657.02 us | 7 MB + 936 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #35 | 2.528 ms | 30 MB + 316 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #36 | 806.18 us | 9 MB + 724 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #37 | 1.349 ms | 16 MB + 200 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #38 | 1.403 ms | 16 MB + 860 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #39 | 3.04 ms | 36 MB + 452 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #40 | 2.849 ms | 34 MB + 88 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #41 | 2.192 ms | 26 MB + 304 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #42 | 1.542 ms | 18 MB + 524 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #43 | 487.2 us | 5 MB + 904 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #44 | 2.381 ms | 28 MB + 556 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #45 | 2.123 ms | 25 MB + 468 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #46 | 1.357 ms | 16 MB + 296 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #47 | 3.202 ms | 38 MB + 360 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #48 | 2.262 ms | 27 MB + 96 KB | Accepted | Score: 0 | 显示更多 |
| Subtask #1 Testcase #49 | 573.35 us | 6 MB + 944 KB | Wrong Answer | Score: 0 | 显示更多 |
| Subtask #1 Testcase #50 | 2.632 ms | 31 MB + 552 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-09-05 01:00:35 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠